From 61fb7bf3f4efab5b589941ab35004b9c97bf92d2 Mon Sep 17 00:00:00 2001 From: esaminu Date: Fri, 18 Mar 2022 00:50:00 +0400 Subject: [PATCH] fix: destructure account --- packages/frontend/src/components/Routing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/Routing.js b/packages/frontend/src/components/Routing.js index 575b4ecdb8..990656ceb4 100644 --- a/packages/frontend/src/components/Routing.js +++ b/packages/frontend/src/components/Routing.js @@ -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);