diff --git a/src/core/client/stream/mutations/DeleteCommentReactionMutation.ts b/src/core/client/stream/mutations/DeleteCommentReactionMutation.ts index ea1a0acde..9e032f296 100644 --- a/src/core/client/stream/mutations/DeleteCommentReactionMutation.ts +++ b/src/core/client/stream/mutations/DeleteCommentReactionMutation.ts @@ -31,6 +31,14 @@ function commit(environment: Environment, input: CreateCommentReactionInput) { clientMutationId: clientMutationId.toString(), }, }, + optimisticResponse: { + deleteCommentReaction: { + comment: { + id: input.commentID, + }, + clientMutationId: clientMutationId.toString(), + }, + } as any, // TODO: (cvle) generated types should contain one for the optimistic response. }); }