From 7e7cfee512c6f0a7cdf7bf880226af4272969203 Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Sun, 2 Apr 2023 22:05:29 +0800 Subject: [PATCH] fix: my info --- app/components/home.tsx | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index 7ed35dfbe..00ae9d0db 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -307,18 +307,19 @@ export function Chat(props: { }, ] : [], - ).concat( - userInput.length > 0 && config.sendPreviewBubble - ? [ - { - role: "user", - content: userInput, - date: new Date().toLocaleString(), - preview: false, - }, - ] - : [], - ); + ) + .concat( + userInput.length > 0 && config.sendPreviewBubble + ? [ + { + role: "user", + content: userInput, + date: new Date().toLocaleString(), + preview: false, + }, + ] + : [], + ); // auto scroll useLayoutEffect(() => { @@ -632,9 +633,7 @@ export function Home() { >
ChatGPT Next
-
- Build your own AI assistant. -
+
Your AI assistant
@@ -671,11 +670,11 @@ export function Home() { }} />
-
+ {/*
} /> -
+
*/}