diff --git a/packages/app/src/hooks/useDiffs.ts b/packages/app/src/hooks/useDiffs.ts index dd1557b..658b25f 100644 --- a/packages/app/src/hooks/useDiffs.ts +++ b/packages/app/src/hooks/useDiffs.ts @@ -10,7 +10,7 @@ async function fetchDiffs(artboardId: string): Promise { } async function createDiffRequest( - body: Omit, + body: Omit, ): Promise { const res = await fetch('/api/diffs', { method: 'POST', @@ -55,7 +55,7 @@ export function useDiffs(artboardId: string | null) { }); const createDiff = useMutation({ - mutationFn: (body: Omit) => createDiffRequest(body), + mutationFn: (body: Omit) => createDiffRequest(body), onSuccess: () => queryClient.invalidateQueries({ queryKey }), });