fix: missing import

This commit is contained in:
Wentao Lyu 2023-03-18 00:29:43 +08:00
parent 7372b37fe6
commit fea3afa740
2 changed files with 1 additions and 2 deletions

View file

@ -5,6 +5,7 @@ import { setNewConvo } from '~/store/convoSlice';
import { setMessages } from '~/store/messageSlice';
import { setSubmitState, setSubmission } from '~/store/submitSlice';
import { setText } from '~/store/textSlice';
import { setError } from '~/store/convoSlice';
const useMessageHandler = () => {
const dispatch = useDispatch();

View file

@ -56,8 +56,6 @@ export const getIconOfModel = ({ size=30, sender, isCreatedByUser, model, chatGp
chatgptCustom: `rgb(0, 163, 255${ button ? ', 0.75' : ''})`,
};
// console.log(sender, isCreatedByUser, model, chatGptLabel, error, )
if (isCreatedByUser)
return (
<div