diff --git a/ui/src/pages/Questions/Detail/components/Reactions/index.tsx b/ui/src/pages/Questions/Detail/components/Reactions/index.tsx index dc08cf1e..9a47f4bf 100644 --- a/ui/src/pages/Questions/Detail/components/Reactions/index.tsx +++ b/ui/src/pages/Questions/Detail/components/Reactions/index.tsx @@ -62,22 +62,6 @@ const Index: FC = ({ }); }; - // const convertToTooltip = (names: string[]) => { - // const n: number = Math.min(5, names.length); - // let ret = ''; - // for (let i = 0; i < n; i += 1) { - // if (i === n - 1) { - // ret += names[i]; - // } else { - // ret += `${names[i]}, `; - // } - // } - // if (names.length > 5) { - // ret += t('reaction.tooltip', { count: names.length - 5 }); - // } - // return ret; - // }; - const renderTooltip = (props) => (