X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=8c7b9170d8c0b0dbb29ae05f6765d36c1c17ee52;hp=60540c03b8246d84fcab3b5c9dc7507f500c10b4;hb=9dd0ab6d60e81d39f1a66f4a53fd3a19bd51ffe9;hpb=123507982e9643a1cf2d747fbd556fc3856bfa49 diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 60540c0..8c7b917 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -332,8 +332,11 @@ class Ambiguities extends React.PureComponent { } async handle_submit() { - const response = await fetch_post_json(`judging/${this.props.prompt.id}`, - this.state.word_groups); + const response = await fetch_post_json( + `judging/${this.props.prompt.id}`,{ + word_groups: this.state.word_groups + } + ); if (response.status === 200) { const result = await response.json();