]> git.cworth.org Git - lmno.games/blobdiff - empathy/empathy.jsx
Delete some dead (and broken) code.
[lmno.games] / empathy / empathy.jsx
index 1a9ad80ceb7298d0c7e341ccddce680b1a80870d..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);
@@ -401,7 +397,7 @@ class Ambiguities extends React.PureComponent {
 
   async handle_submit() {
     const response = await fetch_post_json(
-      `judging/${this.props.prompt.id}`,{
+      `judged/${this.props.prompt.id}`,{
         word_groups: this.state.word_sets.map(set => Array.from(set))
       }
     );
@@ -413,7 +409,7 @@ class Ambiguities extends React.PureComponent {
         return;
       }
     } else {
-      add_message("danger", "An error occurred submitting your answers");
+      add_message("danger", "An error occurred submitting the results of your judging");
       return;
     }