[Glitch] Fix spurious loading bar middleware usage

Port e38ce3beb7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire
2024-08-26 18:38:34 +02:00
parent 11b8017b45
commit 2379bfe3ea
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 },
);