Fix react query cache key problem for saved tasks (#1518)

This commit is contained in:
Shuchang Zheng
2025-01-08 11:06:57 -08:00
committed by GitHub
parent 7bfb1e9b21
commit d3b159da49
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ function CreateNewTaskFormPage() {
const location = useLocation();
const { data, isFetching } = useQuery({
queryKey: ["savedTask", template],
queryKey: ["savedTasks", template],
queryFn: async () => {
const client = await getClient(credentialGetter);
return client