Skip to content

Commit afc95b5

Browse files
authored
goofy ahh thingy
1 parent 77e325b commit afc95b5

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/components/stage-wrapper/stage-wrapper.jsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,16 @@ const StageWrapperComponent = function (props) {
3131
)}
3232
dir={isRtl ? 'rtl' : 'ltr'}
3333
>
34-
<Box className={styles.stageMenuWrapper}>
35-
<StageHeader
36-
stageSize={stageSize}
37-
vm={vm}
38-
/>
39-
</Box>
34+
{new URLSearchParams(location.search).has('stage-only')
35+
? null
36+
: (
37+
<Box className={styles.stageMenuWrapper}>
38+
<StageHeader
39+
stageSize={stageSize}
40+
vm={vm}
41+
/>
42+
</Box>
43+
)}
4044
<Box className={styles.stageCanvasWrapper}>
4145
{
4246
isRendererSupported ?

0 commit comments

Comments
 (0)