From b3cae76ae1b8fdddbf10527f984ea241cb3fa7e1 Mon Sep 17 00:00:00 2001 From: ameer2468 <33054370+ameer2468@users.noreply.github.com> Date: Tue, 14 Oct 2025 22:35:25 +0300 Subject: [PATCH] fix text color in download page --- apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx | 2 +- apps/web/app/(org)/dashboard/layout.tsx | 4 ++-- apps/web/components/pages/DownloadPage.tsx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx index 3a9580287e..6c2aca4336 100644 --- a/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx +++ b/apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx @@ -491,7 +491,7 @@ const NavItem = ({ > {name}
- {extraText && !sidebarCollapsed && ( + {extraText !== null && !sidebarCollapsed && ({extraText}
diff --git a/apps/web/app/(org)/dashboard/layout.tsx b/apps/web/app/(org)/dashboard/layout.tsx index 1afbba49e9..80a53df94d 100644 --- a/apps/web/app/(org)/dashboard/layout.tsx +++ b/apps/web/app/(org)/dashboard/layout.tsx @@ -33,7 +33,7 @@ export default async function DashboardLayout({ } let organizationSelect: Organization[] = []; - let userCapsCount: number | null = null; + let userCapsCount: number | null = 0; let organizationSettings: OrganizationSettings | null = null; let spacesData: Spaces[] = []; let anyNewNotifications = false; @@ -49,7 +49,7 @@ export default async function DashboardLayout({ } catch (error) { console.error("Failed to load dashboard data", error); organizationSelect = []; - userCapsCount = null; + userCapsCount = 0; organizationSettings = null; spacesData = []; anyNewNotifications = false; diff --git a/apps/web/components/pages/DownloadPage.tsx b/apps/web/components/pages/DownloadPage.tsx index cf92a896fb..a8e0ede89a 100644 --- a/apps/web/components/pages/DownloadPage.tsx +++ b/apps/web/components/pages/DownloadPage.tsx @@ -21,7 +21,7 @@ export const DownloadPage = () => {+
The quickest way to share your screen. Pin to your dock and record in seconds.
@@ -116,8 +116,8 @@ export const DownloadPage = () => { {/* Discreet SEO Links */} -