fix: hide editor tabs on desktop (#44534)
This commit is contained in:
@ -8,7 +8,6 @@ import {
|
|||||||
ResizeProps
|
ResizeProps
|
||||||
} from '../../../redux/prop-types';
|
} from '../../../redux/prop-types';
|
||||||
import ActionRow from './action-row';
|
import ActionRow from './action-row';
|
||||||
import EditorTabs from './editor-tabs';
|
|
||||||
|
|
||||||
type Pane = { flex: number };
|
type Pane = { flex: number };
|
||||||
|
|
||||||
@ -122,7 +121,6 @@ const DesktopLayout = (props: DesktopLayoutProps): JSX.Element => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<ReflexElement flex={editorPane.flex} {...resizeProps}>
|
<ReflexElement flex={editorPane.flex} {...resizeProps}>
|
||||||
{challengeFile && !hasEditableBoundaries && <EditorTabs />}
|
|
||||||
{challengeFile && (
|
{challengeFile && (
|
||||||
<ReflexContainer
|
<ReflexContainer
|
||||||
key={challengeFile.fileKey}
|
key={challengeFile.fileKey}
|
||||||
|
Reference in New Issue
Block a user