From 148105c684305a6b9ce1a8d1c88f956ece8352b7 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Tue, 4 Aug 2026 08:11:13 -0600 Subject: [PATCH] Defer mobile navbar auth loading --- src/components/Navbar.tsx | 41 +++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 3a60ba304..13be13810 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -693,6 +693,7 @@ export function Navbar({ children }: { children: React.ReactNode }) { setMobileMenuKey(null)} onNavigate={() => setMobileMenuOpen(false)} onOpenLibraries={() => { @@ -836,12 +837,14 @@ function DesktopNavDropdown({ function MobileNavigation({ activeKey, + loadAuthControls, onBack, onNavigate, onOpenLibraries, onSelect, }: { activeKey: NavMenuKey | null + loadAuthControls: boolean onBack: () => void onNavigate: () => void onOpenLibraries: () => void @@ -859,6 +862,18 @@ function MobileNavigation({ } } + const signIn = ( + + + Sign In + + ) + return (