X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=110b330a71142a5de6c27ee0bd567a1c5abf0591;hp=959c3feaea8f685f42dd60af38fc6b086d8326ab;hb=67bface07504b1e5809c860f81c2cdc1d3a720a3;hpb=b28c923a50b2fc9001fdff69e18506ea02470fe5 diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 959c3fe..110b330 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -212,10 +212,6 @@ class CategoryRequest extends React.PureComponent { const PromptOptions = React.memo(props => { - function handle_click(id) { - fetch_post_json(`vote/${id}`); - } - if (props.prompts.length === 0) return null; @@ -231,7 +227,7 @@ const PromptOptions = React.memo(props => {