summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5d49d12)
This fixes the bug we saw last night where nobody could submit judging
results until they had starred at least one item.
const response = await fetch_post_json(
`judged/${this.props.prompt.id}`,{
word_groups: this.state.word_sets.map(set => Array.from(set)),
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