X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=bc70a85f0df820b34c552de473df8d971352f1b4;hp=5782b7879076bdd8812bccffc58a281b63760d5b;hb=0dfce9dfcf903be9bb4bd27a3b9121c81ac4cfa4;hpb=5d49d1235592034458ce875b5d73d024ef23355d;ds=sidebyside diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 5782b78..bc70a85 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -503,7 +503,7 @@ class Ambiguities extends React.PureComponent { const response = await fetch_post_json( `judged/${this.props.prompt.id}`,{ word_groups: this.state.word_sets.map(set => Array.from(set)), - kudos: Array.from(this.state.starred) + kudos: this.state.starred ? Array.from(this.state.starred) : null } );