From: Carl Worth Date: Sun, 14 Jun 2020 18:53:02 +0000 (-0700) Subject: Delete some dead (and broken) code. X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=43f8d02fa5b415bb7543e46100fb30fc8dea5383 Delete some dead (and broken) code. This code would obviously not work, (it wouldn't even compile cleanly). It also wasn't called anywhere. It's gone now. --- diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 011e196..dcd558f 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -349,10 +349,6 @@ const PromptOptions = React.memo(props => { const LetsPlay = React.memo(props => { - function handle_click(prompt_id) { - fetch_post_json - } - const quorum = Math.round((props.num_players + 1) / 2); const max_votes = props.prompts.reduce( (max_so_far, v) => Math.max(max_so_far, v.votes.length), 0);