fix the unfixeble

This commit is contained in:
m
2026-09-11 10:49:12 +02:00
parent 76ed3aa66b
commit 2d9be3f489
13 changed files with 869 additions and 51 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export function useCreateOcrJob() {
return useMutation({
mutationFn: (fileId: string) => api.createOcrJob(fileId),
onSuccess: (result) => {
queryClient.setQueryData(['ocr', result.data.id], result.data);
queryClient.setQueryData(['ocr', result.data.id], result);
},
});
}