Refactor: Codebase review and cleanup

Review the entire codebase for potential issues and perform necessary cleanup.
This commit is contained in:
gpt-engineer-app[bot]
2025-04-05 06:16:43 +00:00
parent 6a55d33a6d
commit 4b7f422acd
9 changed files with 245 additions and 229 deletions

View File

@@ -6,7 +6,7 @@ import { toast } from '@/hooks/useToast.wrapper';
import { AuthContextType } from './types';
import * as authActions from './authActions';
import { clearAllToasts } from '@/hooks/toast/toastManager';
import { AuthContext } from './useAuth';
import { AuthContext } from './AuthContext';
export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => {
const [session, setSession] = useState<Session | null>(null);