Change staleTime default (#409)

This commit is contained in:
Salih Altun
2024-06-03 21:35:33 +03:00
committed by GitHub
parent 16ea23bc0c
commit f9e5be6d27
2 changed files with 2 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ function CreateNewTaskFormPage() {
},
enabled: !!template && !sampleCases.includes(template as SampleCase),
refetchOnWindowFocus: false,
staleTime: Infinity,
});
if (!template) {