diff --git a/apps/frontend/components/auth/HeaderAuthPanel.tsx b/apps/frontend/components/auth/HeaderAuthPanel.tsx index 47f4af043..b0a2e8c4a 100644 --- a/apps/frontend/components/auth/HeaderAuthPanel.tsx +++ b/apps/frontend/components/auth/HeaderAuthPanel.tsx @@ -47,6 +47,7 @@ export default function HeaderAuthPanel({ const isEditor = group === 'editor' const [needsUpdate, setNeedsUpdate] = useState(false) const pathname = usePathname() + const [isDropdownOpen, setIsDropdownOpen] = useState(false) useEffect(() => { const checkIfNeedsUpdate = async () => { @@ -71,7 +72,7 @@ export default function HeaderAuthPanel({
{session ? ( <> - + setIsDropdownOpen(open)}> )} - +