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 && ( <>