// @flow // import * as ICONS from 'constants/icons'; // import * as REACTION_TYPES from 'constants/reactions'; // import React from 'react'; // import classnames from 'classnames'; // import Button from 'component/button'; // import usePersistedState from 'effects/use-persisted-state'; type Props = { myReacts: Array, othersReacts: any, react: (string, string) => void, commentId: string, typesReacting: Array, }; export default function CommentReactions(props: Props) { // const { myReacts, othersReacts, commentId, react, typesReacting } = props; // const [activeChannel] = usePersistedState('comment-channel'); // const getCountForReact = type => { // let count = 0; // if (othersReacts && othersReacts[type]) { // count += othersReacts[type]; // } // if (myReacts && myReacts.includes(type)) { // count += 1; // } // return count; // }; return null; // return ( // <> //