Moved Doc type to selectDocsApi

Moved /api/docs.ts to /preference/selectDocsApi.ts
Added all source docs to redux
This commit is contained in:
TaylorS15
2023-02-20 14:22:11 -05:00
parent 80ada47df8
commit dea949f772
6 changed files with 60 additions and 47 deletions

View File

@@ -108,17 +108,16 @@ export default function Navigation({
>
<img src={Hamburger} alt="menu toggle" className="w-7" />
</button>
<APIKeyModal
modalState={apiKeyModalState}
setModalState={setApiKeyModalState}
isCancellable={isApiKeySet}
/>
<SelectDocsModal
modalState={selectedDocsModalState}
setModalState={setSelectedDocsModalState}
isCancellable={isSelectedDocsSet}
/>
<APIKeyModal
modalState={apiKeyModalState}
setModalState={setApiKeyModalState}
isCancellable={isApiKeySet}
/>
</>
);
}