diff --git a/src/core/client/stream/mutations/CreateCommentReactionMutation.ts b/src/core/client/stream/mutations/CreateCommentReactionMutation.ts index a331e34e0..5da3b33ca 100644 --- a/src/core/client/stream/mutations/CreateCommentReactionMutation.ts +++ b/src/core/client/stream/mutations/CreateCommentReactionMutation.ts @@ -44,7 +44,7 @@ function commit(environment: Environment, input: CreateCommentReactionInput) { }); } -export const withEditCommentMutation = createMutationContainer( +export const withCreateCommentReactionMutation = createMutationContainer( "createCommentReaction", commit ); diff --git a/src/core/client/stream/mutations/index.ts b/src/core/client/stream/mutations/index.ts index 5b39e4e78..853d2d824 100644 --- a/src/core/client/stream/mutations/index.ts +++ b/src/core/client/stream/mutations/index.ts @@ -30,3 +30,8 @@ export { withSetActiveTabMutation, SetActiveTabMutation, } from "./SetActiveTabMutation"; +export { + withCreateCommentReactionMutation, + CreateCommentReactionMutation, + CreateCommentReactionInput, +} from "./CreateCommentReactionMutation"; diff --git a/src/core/client/stream/tabs/comments/components/RespectButton.tsx b/src/core/client/stream/tabs/comments/components/RespectButton.tsx index 0bf7bc6fa..932813738 100644 --- a/src/core/client/stream/tabs/comments/components/RespectButton.tsx +++ b/src/core/client/stream/tabs/comments/components/RespectButton.tsx @@ -3,10 +3,14 @@ import React from "react"; import { Button, ButtonIcon, MatchMedia } from "talk-ui/components"; -class RespectButton extends React.Component { +interface RespectButtonProps { + onButtonClick: () => {}; +} + +class RespectButton extends React.Component { public render() { return ( -