chore: refresh user data every 13 minutes

This commit is contained in:
ValdiANS
2025-12-23 12:08:39 +07:00
parent 1f9992c1c8
commit 9e895af62a
+3
View File
@@ -27,6 +27,9 @@ const RequireAuth = ({ children }: RequireAuthProps) => {
SWRHttpKey
>('/sso/userinfo', httpClientFetcher, {
shouldRetryOnError: false,
// refresh every 13 minutes
refreshInterval: 13 * 60 * 1000,
});
useEffect(() => {