diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index de75c73e..f3f8befc 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -5,7 +5,7 @@ import About from './About'; import PageNotFound from './PageNotFound'; import { inject } from '@vercel/analytics'; import { useMediaQuery } from './hooks'; -import { useState,useEffect } from 'react'; +import { useState} from 'react'; import Setting from './Setting'; inject(); @@ -32,4 +32,4 @@ export default function App() { ); -} +} \ No newline at end of file diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index 1f0b94ca..e23c06f7 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -6,14 +6,15 @@ export default function Hero({ className = '' }: { className?: string }) { const { isMobile } = useMediaQuery(); const [isDarkTheme] = useDarkTheme() return ( -
DocsGPT
- Welcome to DocsGPT, your technical
+ Welcome to DocsGPT, your technical
documentation assistant! Start by entering your query in the input
field below, and we'll provide you with the most relevant
answers.
diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx
index 2605629e..13a3d485 100644
--- a/frontend/src/conversation/Conversation.tsx
+++ b/frontend/src/conversation/Conversation.tsx
@@ -17,20 +17,17 @@ import Spinner from './../assets/spinner.svg';
import { FEEDBACK, Query } from './conversationModels';
import { sendFeedback } from './conversationApi';
import ArrowDown from './../assets/arrow-down.svg';
-import { selectConversationId } from '../preferences/preferenceSlice';
export default function Conversation() {
const queries = useSelector(selectQueries);
const status = useSelector(selectStatus);
- const conversationId = useSelector(selectConversationId)
const dispatch = useDispatch