diff --git a/app/components/home.tsx b/app/components/home.tsx index 3055b68..b9c6a8a 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -158,100 +158,96 @@ function _Home() { } return ( - <> +
-
-
-
ChatGPT Next
-
- Build your own AI assistant. -
-
- -
+
+
ChatGPT Next
+
+ Build your own AI assistant.
- -
{ - setOpenSettings(false); - setShowSideBar(false); - }} - > - +
+
+
-
-
-
- } - onClick={chatStore.deleteSession} - /> -
-
- } - onClick={() => { - setOpenSettings(true); - setShowSideBar(false); - }} - shadow - /> -
- +
{ + setOpenSettings(false); + setShowSideBar(false); + }} + > + +
+ +
+
+
+ } + onClick={chatStore.deleteSession} + />
-
+
} - text={Locale.Home.NewChat} + icon={} onClick={() => { - createNewSession(); + setOpenSettings(true); setShowSideBar(false); }} shadow />
+
- -
onDragMouseDown(e as any)} - >
-
- -
- {openSettings ? ( - { - setOpenSettings(false); - setShowSideBar(true); +
+ } + text={Locale.Home.NewChat} + onClick={() => { + createNewSession(); + setShowSideBar(false); }} + shadow /> - ) : ( - setShowSideBar(true)} - sideBarShowing={showSideBar} - /> - )} +
+ +
onDragMouseDown(e as any)} + >
+
+ +
+ {openSettings ? ( + { + setOpenSettings(false); + setShowSideBar(true); + }} + /> + ) : ( + setShowSideBar(true)} + sideBarShowing={showSideBar} + /> + )}
- +
); }