diff --git a/src/hooks/useAuth.tsx b/src/hooks/useAuth.tsx index 10983b0..45da031 100644 --- a/src/hooks/useAuth.tsx +++ b/src/hooks/useAuth.tsx @@ -26,7 +26,7 @@ export interface UseAuthProps { authenticateOnMount?: boolean; } -export const useAuth = ({ balanceSetting, authenticateOnMount }: UseAuthProps) => { +export const useAuth = ({ balanceSetting, authenticateOnMount = true }: UseAuthProps) => { const address = useAuthStore((s) => s.address); const publicKey = useAuthStore((s) => s.publicKey); const name = useAuthStore((s) => s.name);