fix: make info tab default on mobile challenges (#37280)

This commit is contained in:
Oliver Eyton-Williams
2019-10-16 15:15:50 +02:00
committed by mrugesh
parent 6c8cead91e
commit dd008f73d2

View File

@ -33,6 +33,9 @@ const propTypes = {
};
class MobileLayout extends Component {
componentDidMount() {
if (this.props.currentTab !== 1) this.props.moveToTab(1);
}
render() {
const {
currentTab,