diff --git a/frontend/src/Navigation.tsx b/frontend/src/Navigation.tsx index b67d874b..4a617970 100644 --- a/frontend/src/Navigation.tsx +++ b/frontend/src/Navigation.tsx @@ -23,9 +23,9 @@ import { import ConversationTile from './conversation/ConversationTile'; import { useDarkTheme, useMediaQuery, useOutsideAlerter } from './hooks'; import DeleteConvModal from './modals/DeleteConvModal'; -import { ActiveState } from './models/misc'; +import { ActiveState, Doc } from './models/misc'; import APIKeyModal from './preferences/APIKeyModal'; -import { Doc, getConversations, getDocs } from './preferences/preferenceApi'; +import { getConversations, getDocs } from './preferences/preferenceApi'; import { selectApiKeyStatus, selectConversationId, diff --git a/frontend/src/preferences/preferenceSlice.ts b/frontend/src/preferences/preferenceSlice.ts index 45e55d3f..6b33f99c 100644 --- a/frontend/src/preferences/preferenceSlice.ts +++ b/frontend/src/preferences/preferenceSlice.ts @@ -4,9 +4,9 @@ import { createSlice, isAnyOf, } from '@reduxjs/toolkit'; -import { Doc, setLocalApiKey, setLocalRecentDocs } from './preferenceApi'; +import { setLocalApiKey, setLocalRecentDocs } from './preferenceApi'; import { RootState } from '../store'; -import { ActiveState } from '../models/misc'; +import { ActiveState, Doc } from '../models/misc'; interface Preference { apiKey: string;