Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JYC0413 committed Mar 18, 2024
1 parent 5483275 commit 199794d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {saveConversation, saveConversations, updateConversation} from '@/utils/a
import {ChatBody, Conversation, Message} from '@/types/chat';
import {Plugin} from '@/types/plugin';

import IndexContext from '@/pages/api/home/index.context';
import HomeContext from '@/pages/api/home/home.context';
import {ChatInput} from './ChatInput';
import {ChatLoader} from './ChatLoader';
import Spinner from '../Spinner';
Expand Down Expand Up @@ -44,7 +44,7 @@ export const Chat = memo(({stopConversationRef}: Props) => {
},
handleUpdateConversation,
dispatch: homeDispatch,
} = useContext(IndexContext);
} = useContext(HomeContext);

const [currentMessage, setCurrentMessage] = useState<Message>();
const [imageCount, setImageCount] = useState<number>(0);
Expand Down

0 comments on commit 199794d

Please sign in to comment.