fix: new chat

This commit is contained in:
Jing Hua 2023-03-26 14:01:16 +08:00
parent 17b6fc91fb
commit 470aa40a84

View file

@ -19,7 +19,7 @@ const NewChat = () => {
: 'cursor-pointer opacity-100' : 'cursor-pointer opacity-100'
}`} }`}
onClick={() => { onClick={() => {
if (!generating) addChat; if (!generating) addChat();
}} }}
> >
<PlusIcon />{' '} <PlusIcon />{' '}