From 30b0d42604aeac39f6a725552500866b4f9a092f Mon Sep 17 00:00:00 2001 From: Palash Gupta Date: Fri, 10 Nov 2023 11:16:42 +0530 Subject: [PATCH] fix: try Signoz is visible on success (#3906) --- frontend/src/container/Header/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/container/Header/index.tsx b/frontend/src/container/Header/index.tsx index a930143a9c..c7eb709452 100644 --- a/frontend/src/container/Header/index.tsx +++ b/frontend/src/container/Header/index.tsx @@ -104,7 +104,7 @@ function HeaderContainer(): JSX.Element { ); }; - const { data: licenseData, isFetching } = useLicense(); + const { data: licenseData, isFetching, status: licenseStatus } = useLicense(); const isLicenseActive = licenseData?.payload?.licenses?.find((e) => e.isCurrent)?.status === @@ -169,7 +169,7 @@ function HeaderContainer(): JSX.Element { - {!isLicenseActive && ( + {licenseStatus === 'success' && !isLicenseActive && (