From 1afd18183301f7a2abee6f67d45dec8682887f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=A7=8B=E7=82=AF?= Date: Sat, 29 Apr 2023 13:45:12 +0800 Subject: [PATCH] fix: new chat don't jump chat in dontShowMask --- app/components/sidebar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx index 47a311725..26b18b226 100644 --- a/app/components/sidebar.tsx +++ b/app/components/sidebar.tsx @@ -91,9 +91,8 @@ export function SideBar(props: { className?: string }) { return (
ChatGPT Next
@@ -159,6 +158,7 @@ export function SideBar(props: { className?: string }) { onClick={() => { if (config.dontShowMaskSplashScreen) { chatStore.newSession(); + navigate(Path.Chat); } else { navigate(Path.NewChat); }