mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-28 06:06:38 +08:00
Remove goofy new app screen
This commit is contained in:
parent
6a75ce476d
commit
a2d381b069
@ -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
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user