From 5bf4c66b40cfbe2b144357d156489c016637c073 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 4 Oct 2018 19:48:56 +0200 Subject: [PATCH] fix: correct typings --- .../stream/tabs/comments/components/ReactionButton.tsx | 4 ++-- .../tabs/comments/containers/ReactionButtonContainer.tsx | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/core/client/stream/tabs/comments/components/ReactionButton.tsx b/src/core/client/stream/tabs/comments/components/ReactionButton.tsx index 206c0e2ab..559ba34f5 100644 --- a/src/core/client/stream/tabs/comments/components/ReactionButton.tsx +++ b/src/core/client/stream/tabs/comments/components/ReactionButton.tsx @@ -3,7 +3,7 @@ import React from "react"; import { Button, ButtonIcon, MatchMedia } from "talk-ui/components"; interface ReactionButtonProps { - onButtonClick: () => {}; + onClick: () => void; totalReactions: number; reacted: boolean | null; label: string; @@ -17,7 +17,7 @@ class ReactionButton extends React.Component { public render() { const { totalReactions, reacted } = this.props; return ( -