Fix spurious loading bar middleware usage (#31592)

This commit is contained in:
Claire
2024-08-26 18:38:34 +02:00
committed by GitHub
parent 4c2534d12e
commit e38ce3beb7
3 changed files with 15 additions and 10 deletions

View File

@@ -6,5 +6,4 @@ export const submitAccountNote = createDataLoadingThunk(
({ accountId, note }: { accountId: string; note: string }) =>
apiSubmitAccountNote(accountId, note),
(relationship) => ({ relationship }),
{ skipLoading: true },
);