1
0
mirror of https://github.com/Qortal/qapp-core.git synced 2025-07-16 05:31:22 +00:00

auto auth default true

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

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