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