From 82e6717323a5cfc7a2139ec391b80bc8794c944b Mon Sep 17 00:00:00 2001 From: PhilReact Date: Wed, 2 Apr 2025 02:13:41 +0300 Subject: [PATCH] auto auth default true --- src/hooks/useAuth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);