From 7034a3b8408bd4183197ecd4244144a12b681e57 Mon Sep 17 00:00:00 2001 From: samlhuillier Date: Sat, 2 Nov 2024 22:41:03 +0000 Subject: [PATCH] fix resising bug --- src/components/MainPage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/MainPage.tsx b/src/components/MainPage.tsx index a33ecb48..1998a112 100644 --- a/src/components/MainPage.tsx +++ b/src/components/MainPage.tsx @@ -66,6 +66,8 @@ const MainPageContent: React.FC = () => { const { setShowEditor, showEditor } = useContentContext() const { getShortcutDescription } = useAppShortcuts() + const panelGroupKey = `${showChatbot}-${showEditor}-${!!currentlyOpenFilePath}` + return (
setShowSimilarFiles(!showSimilarFiles)} /> @@ -86,7 +88,7 @@ const MainPageContent: React.FC = () => {
{currentlyOpenFilePath || showChatbot ? ( - + {currentlyOpenFilePath && showEditor && ( <>