auto auth default true

This commit is contained in:
PhilReact 2025-04-02 02:13:41 +03:00
parent a49d89b0d8
commit 82e6717323

View File

@ -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);