diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index c677bb2..15fb7d8 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -103,7 +103,7 @@ class Main extends Component { }).catch((error) => { this.setState({ progress: false, - status_text: "Chyba: " + error.response.status +", " + error.response.data, + status_text: "Chyba: " + error.response.status +", " + error.response.data.reason, status: "failed", }) }); @@ -190,7 +190,7 @@ class Main extends Component { } {this.state.page == "#register_racer" &&