Fix a bug caused by setting staleTime to zero (#388)
This commit is contained in:
@@ -20,6 +20,7 @@ function CreateNewTaskFormPage() {
|
||||
.then((response) => response.data);
|
||||
},
|
||||
enabled: !!template && !sampleCases.includes(template as SampleCase),
|
||||
refetchOnWindowFocus: false,
|
||||
});
|
||||
|
||||
if (!template) {
|
||||
|
||||
Reference in New Issue
Block a user