fix: cannot open problem editor because of typeerror undefined (#193)
* fix: cannot open problem editor because of typeerror * fix: snapshots
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`EditorProblemView component renders raw editor 1`] = `
|
||||
<EditorContainer
|
||||
<injectIntl(ShimmedIntlComponent)
|
||||
getContent={[Function]}
|
||||
onClose={null}
|
||||
validateEntry={null}
|
||||
>
|
||||
<Container
|
||||
fluid={true}
|
||||
@@ -32,14 +30,12 @@ exports[`EditorProblemView component renders raw editor 1`] = `
|
||||
</Component>
|
||||
</Row>
|
||||
</Container>
|
||||
</EditorContainer>
|
||||
</injectIntl(ShimmedIntlComponent)>
|
||||
`;
|
||||
|
||||
exports[`EditorProblemView component renders simple view 1`] = `
|
||||
<EditorContainer
|
||||
<injectIntl(ShimmedIntlComponent)
|
||||
getContent={[Function]}
|
||||
onClose={null}
|
||||
validateEntry={null}
|
||||
>
|
||||
<Container
|
||||
fluid={true}
|
||||
@@ -62,5 +58,5 @@ exports[`EditorProblemView component renders simple view 1`] = `
|
||||
</Component>
|
||||
</Row>
|
||||
</Container>
|
||||
</EditorContainer>
|
||||
</injectIntl(ShimmedIntlComponent)>
|
||||
`;
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Col, Container, Row } from '@edx/paragon';
|
||||
import AnswerWidget from './AnswerWidget';
|
||||
import SettingsWidget from './SettingsWidget';
|
||||
import QuestionWidget from './QuestionWidget';
|
||||
import { EditorContainer } from '../../../EditorContainer';
|
||||
import EditorContainer from '../../../EditorContainer';
|
||||
import { selectors } from '../../../../data/redux';
|
||||
import RawEditor from '../../../../sharedComponents/RawEditor';
|
||||
import { ProblemTypeKeys } from '../../../../data/constants/problem';
|
||||
|
||||
Reference in New Issue
Block a user