Skip to content

Commit

Permalink
fix for the feature-based stake tab issue in mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsalar committed Jan 4, 2023
1 parent 6134517 commit 34f1c92
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions web/src/containers/Wallet/MainWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,15 @@ class Wallet extends Component {
title: STRINGS['WALLET_TAB_TRANSACTIONS'],
content: <TransactionsHistory />,
},
{
];

if (stake_page) {
mobileTabs.push({
title: STRINGS['ACCOUNTS.TAB_STAKE'],
content: <Stake />,
},
];
});
}

this.setState({ sections, isOpen, mobileTabs });
};

Expand Down

0 comments on commit 34f1c92

Please sign in to comment.