This commit is contained in:
Fredrik Burmester
2024-09-09 08:55:58 +03:00
parent 788b4bcbd2
commit b4eaabce7a
3 changed files with 143 additions and 72 deletions

View File

@@ -24,7 +24,11 @@ export default function page() {
const res = await getSyncPlayApi(api).syncPlayGetGroups();
return res.data;
},
refetchInterval: 5000,
refetchInterval: 1000,
refetchIntervalInBackground: true,
refetchOnWindowFocus: true,
refetchOnReconnect: true,
refetchOnMount: true,
});
const createGroupMutation = useMutation({