From fe78e9a3361e7fd8e2b7ed2a6f59b6f4b06a9972 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 8 Sep 2024 22:55:45 +0100 Subject: [PATCH] lint: more lintingg --- frontend/src/Navigation.tsx | 4 ++-- frontend/src/preferences/preferenceSlice.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;