mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 22:13:47 +08:00
Remove goofy new app screen
This commit is contained in:
@@ -346,12 +346,9 @@ export function SideBar(props: { className?: string }) {
|
||||
icon={<AddIcon />}
|
||||
text={shouldNarrow ? undefined : Locale.Home.NewChat}
|
||||
onClick={() => {
|
||||
if (config.dontShowMaskSplashScreen) {
|
||||
chatStore.newSession();
|
||||
navigate(Path.Chat);
|
||||
} else {
|
||||
navigate(Path.NewChat);
|
||||
}
|
||||
// Always navigate directly to chat
|
||||
chatStore.newSession();
|
||||
navigate(Path.Chat);
|
||||
}}
|
||||
shadow
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user