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] =