fix: make info tab default on mobile challenges (#37280)
This commit is contained in:
committed by
mrugesh
parent
6c8cead91e
commit
dd008f73d2
@ -33,6 +33,9 @@ const propTypes = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
class MobileLayout extends Component {
|
class MobileLayout extends Component {
|
||||||
|
componentDidMount() {
|
||||||
|
if (this.props.currentTab !== 1) this.props.moveToTab(1);
|
||||||
|
}
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
currentTab,
|
currentTab,
|
||||||
|
Reference in New Issue
Block a user