From 470aa40a84c864188e0548fb7d88e373f03ecdfe Mon Sep 17 00:00:00 2001 From: Jing Hua Date: Sun, 26 Mar 2023 14:01:16 +0800 Subject: [PATCH] fix: new chat --- src/components/Menu/NewChat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Menu/NewChat.tsx b/src/components/Menu/NewChat.tsx index 526ca2c..2c68500 100644 --- a/src/components/Menu/NewChat.tsx +++ b/src/components/Menu/NewChat.tsx @@ -19,7 +19,7 @@ const NewChat = () => { : 'cursor-pointer opacity-100' }`} onClick={() => { - if (!generating) addChat; + if (!generating) addChat(); }} > {' '}