From 257f0979526be5ea84a57e5154f5e4e801469f55 Mon Sep 17 00:00:00 2001 From: Hilmi Erdem KEREN Date: Tue, 30 Apr 2019 10:34:42 +0300 Subject: [PATCH] Replaces this.main.offsetWidth as 'offsetWidth' --- src/pages/Account/Settings/Info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Account/Settings/Info.js b/src/pages/Account/Settings/Info.js index c5d4ef76..799b7b87 100644 --- a/src/pages/Account/Settings/Info.js +++ b/src/pages/Account/Settings/Info.js @@ -81,7 +81,7 @@ class Info extends Component { requestAnimationFrame(() => { let mode = 'inline'; const { offsetWidth } = this.main; - if (this.main.offsetWidth < 641 && offsetWidth > 400) { + if (offsetWidth < 641 && offsetWidth > 400) { mode = 'horizontal'; } if (window.innerWidth < 768 && offsetWidth > 400) {