diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index bd9b84960..b2f24b5a8 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -1,29 +1,30 @@ import { Fragment, useEffect, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useDispatch, useSelector } from 'react-redux'; -import newChatIcon from '../assets/openNewChat.svg'; +import { useNavigate } from 'react-router-dom'; +import Hero from '../Hero'; import ArrowDown from '../assets/arrow-down.svg'; +import newChatIcon from '../assets/openNewChat.svg'; import Send from '../assets/send.svg'; import SendDark from '../assets/send_dark.svg'; +import ShareIcon from '../assets/share.svg'; import SpinnerDark from '../assets/spinner-dark.svg'; import Spinner from '../assets/spinner.svg'; import RetryIcon from '../components/RetryIcon'; -import { useNavigate } from 'react-router-dom'; -import Hero from '../Hero'; import { useDarkTheme, useMediaQuery } from '../hooks'; import { ShareConversationModal } from '../modals/ShareConversationModal'; -import { setConversation, updateConversationId } from './conversationSlice'; import { selectConversationId } from '../preferences/preferenceSlice'; import { AppDispatch } from '../store'; import ConversationBubble from './ConversationBubble'; import { handleSendFeedback } from './conversationHandlers'; import { FEEDBACK, Query } from './conversationModels'; -import ShareIcon from '../assets/share.svg'; import { addQuery, fetchAnswer, selectQueries, selectStatus, + setConversation, + updateConversationId, updateQuery, } from './conversationSlice'; @@ -302,14 +303,14 @@ export default function Conversation() { )} -