fix(client): show editor for React challenges
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
07cf7e3e72
commit
1ce354a179
@ -249,6 +249,19 @@ class MultifileEditor extends Component {
|
||||
/>
|
||||
</ReflexElement>
|
||||
)}
|
||||
{visibleEditors.indexjsx && (
|
||||
<ReflexElement {...reflexProps} {...resizeProps}>
|
||||
<Editor
|
||||
challengeFiles={challengeFiles}
|
||||
containerRef={containerRef}
|
||||
description={targetEditor === 'indexjsx' ? description : null}
|
||||
fileKey='indexjsx'
|
||||
key='indexjsx'
|
||||
resizeProps={resizeProps}
|
||||
theme={editorTheme}
|
||||
/>
|
||||
</ReflexElement>
|
||||
)}
|
||||
</ReflexContainer>
|
||||
</ReflexElement>
|
||||
</ReflexContainer>
|
||||
|
@ -390,6 +390,7 @@ export const query = graphql`
|
||||
contents
|
||||
head
|
||||
tail
|
||||
editableRegionBoundaries
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user