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 />}
|
icon={<AddIcon />}
|
||||||
text={shouldNarrow ? undefined : Locale.Home.NewChat}
|
text={shouldNarrow ? undefined : Locale.Home.NewChat}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (config.dontShowMaskSplashScreen) {
|
// Always navigate directly to chat
|
||||||
chatStore.newSession();
|
chatStore.newSession();
|
||||||
navigate(Path.Chat);
|
navigate(Path.Chat);
|
||||||
} else {
|
|
||||||
navigate(Path.NewChat);
|
|
||||||
}
|
|
||||||
}}
|
}}
|
||||||
shadow
|
shadow
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user