Use error message from claim code endpoint
This commit is contained in:
parent
1e026bebe4
commit
fe66cc502c
2 changed files with 1 additions and 1 deletions
BIN
dist.zip
BIN
dist.zip
Binary file not shown.
|
@ -44,7 +44,7 @@ var ClaimCodePage = React.createClass({
|
|||
// Send them to "landing" instead of "home" (home will just trigger the message all over again until the credits arrive)
|
||||
window.location = '?landing';
|
||||
} else {
|
||||
alert("You've entered an invalid code, or one that's already been claimed. Please check your code and try again.");
|
||||
alert(response.reason);
|
||||
this.setState({
|
||||
submitting: false
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue