From f5efc8e7655ae18b928693e36a4bfc755367b899 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Mon, 30 Jan 2017 16:33:16 +0000 Subject: [PATCH] Use const, not var --- src/components/structures/login/Registration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/login/Registration.js b/src/components/structures/login/Registration.js index 1456b666f4..eed370a7ac 100644 --- a/src/components/structures/login/Registration.js +++ b/src/components/structures/login/Registration.js @@ -307,7 +307,7 @@ module.exports = React.createClass({ }, _getRegisterContentJsx: function() { - var Spinner = sdk.getComponent("elements.Spinner"); + const Spinner = sdk.getComponent("elements.Spinner"); var currStep = this.registerLogic.getStep(); var registerStep;