This commit is contained in:
Stuart Taylor
2018-04-11 14:51:47 +01:00
committed by Mrugesh Mohapatra
parent c4108aca5d
commit 3257122270
3 changed files with 3 additions and 7 deletions

View File

@ -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>

View File

@ -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';