X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=6f051f484f3ca3dfc71a21835ac787360192f434;hp=cd5f3423d845f731e309e5521287a58e68f93c77;hb=37a921fe6b9c664da0b33b76f7d6855e8679c754;hpb=bbbb65e60e043c8a60d362a6baa84e71dd4d2254 diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index cd5f342..6f051f4 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -328,7 +328,7 @@ class ActivePrompt extends React.PureComponent { const response = await fetch_post_json(`answer/${this.props.prompt.id}`, { answers: this.answers.map(r => r.current.value) }); - if (response.status == 200) { + if (response.status === 200) { const result = await response.json(); if (! result.valid) { add_message("danger", result.message);