From 4902f2e297638606c5c73aceb7deb2771238805a Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Thu, 10 Oct 2024 00:14:45 +0200 Subject: [PATCH] fix --- frontend/src/scripts/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" &&
-
this.onSubmit(e)}> + this.onSubmit(e)}>

Registrace Závodníka