From 94e9af8700a97fd8a720a4a1f0742300a47e8e77 Mon Sep 17 00:00:00 2001 From: Gina Contrino Date: Tue, 13 Feb 2018 11:24:44 +0100 Subject: [PATCH] Update account visual on address change --- src/components/accountVisual/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/accountVisual/index.js b/src/components/accountVisual/index.js index 253d0d234c..1887f350a6 100644 --- a/src/components/accountVisual/index.js +++ b/src/components/accountVisual/index.js @@ -167,7 +167,8 @@ class AccountVisual extends React.Component { } shouldComponentUpdate(nextProps, state) { - return this.state.isMobile !== state.isMobile; + return this.state.isMobile !== state.isMobile + || nextProps.address !== this.props.address; } resizeWindow() {