From 43f8d02fa5b415bb7543e46100fb30fc8dea5383 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 14 Jun 2020 11:53:02 -0700 Subject: [PATCH 1/1] 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. --- empathy/empathy.jsx | 4 ---- 1 file changed, 4 deletions(-) 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); -- 2.43.0