Convert React.createClass to ES6 classes and createReactClass calls

This commit is contained in:
Tautvidas Sipavičius
2018-10-31 21:18:44 +02:00
parent eb1acc8145
commit d4fa041ba8
38 changed files with 587 additions and 411 deletions

View File

@@ -9,11 +9,11 @@ import KnowledgeBase from 'help/knowledge_base.jsx';
const history = useRouterHistory(createHashHistory)({ queryKey: false });
const App = React.createClass({
class App extends React.Component {
render() {
return this.props.children;
},
});
}
}
const container = document.getElementById('help_container');