fix
This commit is contained in:
parent
2f33df8dcb
commit
4902f2e297
@ -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 {
|
||||
</div>}
|
||||
{this.state.page == "#register_racer" &&
|
||||
<div>
|
||||
<form id="form" class="container" action="/api/register_racer " onSubmit={(e) => this.onSubmit(e)}>
|
||||
<form id="form" class="container" action="/api/register_racer" onSubmit={(e) => this.onSubmit(e)}>
|
||||
<h1>Registrace Závodníka</h1>
|
||||
<div class="mb-3">
|
||||
<label for="first_name" class="form-label">Jméno</label>
|
||||
|
Loading…
x
Reference in New Issue
Block a user