From 041b21180d2703651cd152eed380d24bd953458f Mon Sep 17 00:00:00 2001 From: NilsUeter Date: Mon, 8 May 2023 21:31:20 +0200 Subject: [PATCH] small fix --- src/App.jsx | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 3f9cd01..3193adc 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -168,16 +168,21 @@ function App() { Custom Color - {primaryColor !== getPrimaryColor(roster.forces[0].catalog) && ( - - )} + {roster && + primaryColor !== getPrimaryColor(roster.forces[0].catalog) && ( + + )}