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 || ( - <> +
- +
)}