Format
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
c4108aca5d
commit
3257122270
@ -58,7 +58,6 @@ class ShowClassic extends PureComponent {
|
||||
} = this.props;
|
||||
createFiles(files);
|
||||
initTests(tests);
|
||||
console.log(challengeMeta);
|
||||
updateChallengeMeta(challengeMeta);
|
||||
}
|
||||
|
||||
@ -93,7 +92,6 @@ class ShowClassic extends PureComponent {
|
||||
},
|
||||
files
|
||||
} = this.props;
|
||||
console.log(files);
|
||||
const editors = Object.keys(files)
|
||||
.map(key => files[key])
|
||||
.map((file, index) => (
|
||||
@ -105,10 +103,9 @@ class ShowClassic extends PureComponent {
|
||||
</Fragment>
|
||||
));
|
||||
|
||||
const showPreview = (
|
||||
const showPreview =
|
||||
challengeType === challengeTypes.html ||
|
||||
challengeType === challengeTypes.modern
|
||||
);
|
||||
challengeType === challengeTypes.modern;
|
||||
const blockNameTitle = `${blockName} - ${title}`;
|
||||
return (
|
||||
<Fragment>
|
||||
|
@ -91,7 +91,7 @@ export const challengeMetaSelector = state => state[ns].challengeMeta;
|
||||
export const challengeTestsSelector = state => state[ns].challengeTests;
|
||||
export const consoleOutputSelector = state => state[ns].consoleOut;
|
||||
export const isCompletionModalOpenSelector = state =>
|
||||
state[ns].modal.completion;
|
||||
state[ns].modal.completion;
|
||||
export const isJSEnabledSelector = state => state[ns].isJSEnabled;
|
||||
export const successMessageSelector = state => state[ns].successMessage;
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { of } from 'rxjs/observable/of';
|
||||
import identity from 'lodash/identity';
|
||||
|
||||
// import { fetchScript } from './fetch-and-cache.js';
|
||||
|
Reference in New Issue
Block a user