diff --git a/common/app/routes/Challenges/Preview.jsx b/common/app/routes/Challenges/Preview.jsx index 6457e8114c3404..f47f6fb0c7e377 100644 --- a/common/app/routes/Challenges/Preview.jsx +++ b/common/app/routes/Challenges/Preview.jsx @@ -1,54 +1,20 @@ -import React, { PureComponent } from 'react'; -import PropTypes from 'prop-types'; -import { connect } from 'react-redux'; +import React from 'react'; import ns from './ns.json'; -import { isJSEnabledSelector } from './redux'; -import {Alert} from 'react-bootstrap'; - const mainId = 'fcc-main-frame'; -const mapStateToProps = state => ({ - isJSEnabled: isJSEnabledSelector(state) -}); -const mapDispatchToProps = null; -const propTypes = { - isJSEnabled: PropTypes.bool +const Preview = () => { + return ( +
+