fix(ui): remove duplicate gallery

This commit is contained in:
psychedelicious 2023-05-09 00:12:54 +10:00
parent c4b3a24ed7
commit 77f2690711

View File

@ -49,6 +49,7 @@ const UnifiedCanvasTab = () => {
{shouldPinParametersPanel && shouldShowParametersPanel && (
<>
<Panel
id="canvasTab_parameters"
order={0}
defaultSize={30}
minSize={20}
@ -75,14 +76,6 @@ const UnifiedCanvasTab = () => {
<UnifiedCanvasContent />
)}
</Panel>
{shouldPinGallery && shouldShowGallery && (
<>
<ResizeHandle />
<Panel order={2} defaultSize={10} minSize={10}>
<ImageGalleryContent />
</Panel>
</>
)}
</PanelGroup>
);
};