diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 124b717..6e13a8f 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -172,7 +172,7 @@ class Main extends Component { Registrace } - {this.state.login_status.racers.length > 1 && + {(this.state.login_status.racers || []).length > 1 &&