feat: refresh token

This commit is contained in:
hamster1963
2024-12-25 11:18:16 +08:00
parent 112607740a
commit 97da6b43c1
2 changed files with 10 additions and 0 deletions

View File

@@ -145,6 +145,7 @@ function DashboardLink() {
queryFn: () => fetchLoginUser(),
refetchOnMount: true,
refetchOnWindowFocus: true,
refetchInterval: 1000 * 60 * 1,
})
return (