Skip to content

Commit

Permalink
fix: destructure account
Browse files Browse the repository at this point in the history
  • Loading branch information
esaminu committed Mar 21, 2022
1 parent 3651d69 commit 61fb7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/Routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class Routing extends Component {
}

componentDidUpdate(prevProps) {
const { activeLanguage } = this.props;
const { activeLanguage, account } = this.props;

if (prevProps.account.accountId !== account.accountId && account.accountId !== undefined) {
this.props.getTokenWhiteList(account.accountId);
Expand Down

0 comments on commit 61fb7bf

Please sign in to comment.