diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx index 3ca1678963e..6212d05d982 100644 --- a/app/components/sidebar.tsx +++ b/app/components/sidebar.tsx @@ -160,7 +160,13 @@ export function SideBar(props: { className?: string }) { icon={} text={shouldNarrow ? undefined : Locale.Mask.Name} className={styles["sidebar-bar-button"]} - onClick={() => navigate(Path.NewChat, { state: { fromHome: true } })} + onClick={() => { + if (config.dontShowMaskSplashScreen !== true) { + navigate(Path.NewChat, { state: { fromHome: true } }); + } else { + navigate(Path.Masks, { state: { fromHome: true } }); + } + }} shadow />