We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea63e6a + f7914c5 commit 09fd5d8Copy full SHA for 09fd5d8
apps/web/src/components/editor/index.tsx
@@ -226,11 +226,13 @@ export default function TabsView() {
226
<TableOfContents sessionId={activeSession.id} />
227
</Pane>
228
) : null}
229
- {arePropertiesVisible && activeSession && (
230
- <Pane id="properties-pane" initialSize={250} minSize={250}>
231
- <Properties sessionId={activeSession.id} />
232
- </Pane>
233
- )}
+ {arePropertiesVisible &&
+ activeSession &&
+ activeSession.type !== "new" && (
+ <Pane id="properties-pane" initialSize={250} minSize={250}>
+ <Properties sessionId={activeSession.id} />
234
+ </Pane>
235
+ )}
236
</SplitPane>
237
<DropZone overlayRef={overlayRef} />
238
</ScopedThemeProvider>
0 commit comments