From 38f8469d0b917fde0f1fb0a0a1ef49f583558fa9 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 27 Mar 2023 19:11:57 +0100 Subject: [PATCH] Update Navigation.tsx --- frontend/src/Navigation.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/Navigation.tsx b/frontend/src/Navigation.tsx index 979f64ea..a660a135 100644 --- a/frontend/src/Navigation.tsx +++ b/frontend/src/Navigation.tsx @@ -38,9 +38,8 @@ export default function Navigation({ const [isDocsListOpen, setIsDocsListOpen] = useState(false); const isApiKeySet = useSelector(selectApiKeyStatus); - const [apiKeyModalState, setApiKeyModalState] = useState( - isApiKeySet ? 'INACTIVE' : 'ACTIVE', - ); + const [apiKeyModalState, setApiKeyModalState] = + useState('INACTIVE'); const isSelectedDocsSet = useSelector(selectSelectedDocsStatus); const [selectedDocsModalState, setSelectedDocsModalState] =