diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 90c88d97b..9a7812337 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -537,7 +537,7 @@ export function Chat(props: { onClick={props?.showSideBar} /> -
+ {/*
} bordered @@ -546,7 +546,7 @@ export function Chat(props: { setShowPromptModal(true); }} /> -
+
*/}
} diff --git a/app/components/home.tsx b/app/components/home.tsx index 9e57cb870..d181933e2 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -143,9 +143,10 @@ function _Home() { } onClick={() => { - if (confirm(Locale.Home.DeleteChat)) { - removeSession(currentIndex); - } + // if (confirm(Locale.Home.DeleteChat)) { + // removeSession(currentIndex); + // } + setShowSideBar(false); }} />
@@ -159,11 +160,11 @@ function _Home() { shadow /> -
+ {/*
} shadow /> -
+
*/}
void }) {
-
+ {/*
} onClick={clearSessions} bordered title={Locale.Settings.Actions.ClearAll} /> -
+
*/}
}