From c3383e93159159f818a2385164fb8b052a768fd4 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 8 Jul 2019 11:51:22 -0600 Subject: [PATCH] Move _initLogin to componentDidMount --- src/components/structures/auth/SoftLogout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/structures/auth/SoftLogout.js b/src/components/structures/auth/SoftLogout.js index e01be3c1f0..57deee7175 100644 --- a/src/components/structures/auth/SoftLogout.js +++ b/src/components/structures/auth/SoftLogout.js @@ -69,7 +69,9 @@ export default class SoftLogout extends React.Component { password: "", errorText: "", }; + } + componentDidMount(): void { this._initLogin(); }