mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-06-19 03:11:20 +00:00
auto auth default true
This commit is contained in:
parent
a49d89b0d8
commit
82e6717323
@ -26,7 +26,7 @@ export interface UseAuthProps {
|
|||||||
authenticateOnMount?: boolean;
|
authenticateOnMount?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const useAuth = ({ balanceSetting, authenticateOnMount }: UseAuthProps) => {
|
export const useAuth = ({ balanceSetting, authenticateOnMount = true }: UseAuthProps) => {
|
||||||
const address = useAuthStore((s) => s.address);
|
const address = useAuthStore((s) => s.address);
|
||||||
const publicKey = useAuthStore((s) => s.publicKey);
|
const publicKey = useAuthStore((s) => s.publicKey);
|
||||||
const name = useAuthStore((s) => s.name);
|
const name = useAuthStore((s) => s.name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user