pl-fe: fix my small mistake

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-23 20:45:09 +02:00
parent 421163935c
commit fab1f321dc

View File

@ -123,7 +123,7 @@ const useUnblockAccountMutation = (accountId: string) => {
mutationKey: ['accountRelationships', accountId],
mutationFn: () => client.filtering.unblockAccount(accountId),
onMutate: () => updateRelationship(accountId, {
blocking: true,
blocking: false,
}, queryClient),
onError: (_err, _variables, context) => restorePreviousRelationship(accountId, context, queryClient),
onSuccess: (data) => {