Delete some dead (and broken) code.
authorCarl Worth <cworth@cworth.org>
Sun, 14 Jun 2020 18:53:02 +0000 (11:53 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 14 Jun 2020 18:53:02 +0000 (11:53 -0700)
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

index 011e196b04c86c5c521fd4e1c15029415a20f546..dcd558f9639c33d8ee70d555ec20f2490fef88b2 100644 (file)
@@ -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);