Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodyowl committed Apr 6, 2024
1 parent 21d44d7 commit 67d20ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/use-mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ useMutation(BlockUser, {

useMutation(Unfriend, {
connectionUpdates: [
({ variables, remove }) =>
({ data, variables, remove }) =>
Option.fromNullable(data.unfriend).map(() =>
remove(friends, [variables.id]),
),
Expand Down

0 comments on commit 67d20ab

Please sign in to comment.