mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
fix: missing import
This commit is contained in:
parent
7372b37fe6
commit
fea3afa740
2 changed files with 1 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ import { setNewConvo } from '~/store/convoSlice';
|
||||||
import { setMessages } from '~/store/messageSlice';
|
import { setMessages } from '~/store/messageSlice';
|
||||||
import { setSubmitState, setSubmission } from '~/store/submitSlice';
|
import { setSubmitState, setSubmission } from '~/store/submitSlice';
|
||||||
import { setText } from '~/store/textSlice';
|
import { setText } from '~/store/textSlice';
|
||||||
|
import { setError } from '~/store/convoSlice';
|
||||||
|
|
||||||
const useMessageHandler = () => {
|
const useMessageHandler = () => {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
|
||||||
|
|
@ -56,8 +56,6 @@ export const getIconOfModel = ({ size=30, sender, isCreatedByUser, model, chatGp
|
||||||
chatgptCustom: `rgb(0, 163, 255${ button ? ', 0.75' : ''})`,
|
chatgptCustom: `rgb(0, 163, 255${ button ? ', 0.75' : ''})`,
|
||||||
};
|
};
|
||||||
|
|
||||||
// console.log(sender, isCreatedByUser, model, chatGptLabel, error, )
|
|
||||||
|
|
||||||
if (isCreatedByUser)
|
if (isCreatedByUser)
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue