From d801ce6fedccad2ac6fcae51f83e3b5031c22f52 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Thu, 10 Oct 2024 09:13:14 +0200 Subject: [PATCH] racers page --- frontend/src/scripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &&