diff --git a/client/src/utils/handleSubmit.js b/client/src/utils/handleSubmit.js index bdfa46713a..b5803aef17 100644 --- a/client/src/utils/handleSubmit.js +++ b/client/src/utils/handleSubmit.js @@ -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(); diff --git a/client/src/utils/index.js b/client/src/utils/index.js index a831189730..6aed888892 100644 --- a/client/src/utils/index.js +++ b/client/src/utils/index.js @@ -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 (