From 04ef5efc24ad03c432519f0e344355e61dccae11 Mon Sep 17 00:00:00 2001 From: Jing Hua Date: Mon, 10 Apr 2023 23:58:57 +0800 Subject: [PATCH] style: align buttons fixes #65 --- src/components/Chat/ChatContent/ChatContent.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/Chat/ChatContent/ChatContent.tsx b/src/components/Chat/ChatContent/ChatContent.tsx index 7fad0a9..abc7df9 100644 --- a/src/components/Chat/ChatContent/ChatContent.tsx +++ b/src/components/Chat/ChatContent/ChatContent.tsx @@ -33,6 +33,7 @@ const ChatContent = () => { : 0 ); const generating = useStore.getState().generating; + const hideSideMenu = useStore((state) => state.hideSideMenu); const saveRef = useRef(null); @@ -92,13 +93,19 @@ const ChatContent = () => { )} -
+
{useStore.getState().generating || ( - <> +
- +
)}