diff --git a/src/components/Nav/Header/Link.tsx b/src/components/Nav/Header/Link.tsx
index 98711721..6bf639b5 100644
--- a/src/components/Nav/Header/Link.tsx
+++ b/src/components/Nav/Header/Link.tsx
@@ -21,7 +21,7 @@ export const Link = (props: Props) => {
return (
{
- const response = await apiClient.private.mutation(reactionDestroy, { id: id }).toPromise()
+ destroyReaction: async (reaction_id: number) => {
+ const response = await apiClient.private.mutation(reactionDestroy, { reaction_id }).toPromise()
console.debug('[graphql.client.core] destroyReaction:', response)
return response.data.delete_reaction.reaction
},