var -> const

This commit is contained in:
Luke Barnard 2017-03-01 15:55:15 +00:00
parent 187c91b76a
commit b7bd93c613

View file

@ -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,