wip: convert more components to new ui

This commit is contained in:
Ren Amamiya
2023-08-02 08:28:43 +07:00
parent 1ddcbf1654
commit a85bcf917b
23 changed files with 87 additions and 90 deletions

View File

@@ -18,7 +18,7 @@ export function useAccount() {
},
{
staleTime: Infinity,
refetchOnMount: true,
refetchOnMount: false,
refetchOnWindowFocus: false,
refetchOnReconnect: true,
}

View File

@@ -36,6 +36,7 @@ export function useProfile(pubkey: string, fallback?: string) {
}
},
{
refetchOnMount: false,
refetchOnWindowFocus: false,
refetchOnReconnect: false,
}