From ad764516556be51f831f47bde84105b72b5b8f10 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 28 Jan 2019 22:19:33 -0600 Subject: [PATCH] Use render prefix for JSX methods in Login --- src/components/structures/auth/Login.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/structures/auth/Login.js b/src/components/structures/auth/Login.js index 85ccecdac3..8d846112b6 100644 --- a/src/components/structures/auth/Login.js +++ b/src/components/structures/auth/Login.js @@ -539,7 +539,7 @@ module.exports = React.createClass({ return errorText; }, - serverComponentForStep() { + renderServerComponentForStep() { const ServerTypeSelector = sdk.getComponent("auth.ServerTypeSelector"); const ServerConfig = sdk.getComponent("auth.ServerConfig"); const ModularServerConfig = sdk.getComponent("auth.ModularServerConfig"); @@ -605,7 +605,7 @@ module.exports = React.createClass({ ; }, - loginComponentForStep() { + renderLoginComponentForStep() { if (PHASES_ENABLED && this.state.phase !== PHASE_LOGIN) { return null; } @@ -707,8 +707,8 @@ module.exports = React.createClass({ {loader} { errorTextSection } - { this.serverComponentForStep() } - { this.loginComponentForStep() } + { this.renderServerComponentForStep() } + { this.renderLoginComponentForStep() } { _t('Create account') }