From b7bd93c613cc25c4ce90a7d9efa93b47ff800dc4 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 1 Mar 2017 15:55:15 +0000 Subject: [PATCH] var -> const --- src/components/structures/RoomView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 854b154505..1fab9315bf 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -507,7 +507,7 @@ module.exports = React.createClass({ userHasUsedEncryption = localStorage.getItem('mx_user_has_used_encryption'); } if (!userHasUsedEncryption) { - var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); + const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); Modal.createDialog(QuestionDialog, { title: "Warning!", hasCancelButton: false,