From b4605cf6722a27c143acffac851e6830eabbcc4f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 17 Apr 2025 23:46:33 -0500 Subject: [PATCH] Fix AccountSwitcher --- src/components/auth/AccountSwitcher.tsx | 30 ++++++++++++++++++------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/src/components/auth/AccountSwitcher.tsx b/src/components/auth/AccountSwitcher.tsx index 94ce698..0c2b686 100644 --- a/src/components/auth/AccountSwitcher.tsx +++ b/src/components/auth/AccountSwitcher.tsx @@ -1,4 +1,4 @@ -import { useState } from 'react'; +import React, { useState } from 'react'; import { ChevronDown, LogOut, User, UserPlus } from 'lucide-react'; import { DropdownMenu, @@ -49,13 +49,27 @@ export function AccountSwitcher() { if (!isLoggedIn) { return ( - + <> + + + setLoginDialogOpen(false)} + onLogin={handleLogin} + onSignup={() => setSignupDialogOpen(true)} + /> + + setSignupDialogOpen(false)} + /> + ); }