var -> const
This commit is contained in:
parent
187c91b76a
commit
b7bd93c613
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ module.exports = React.createClass({
|
||||||
userHasUsedEncryption = localStorage.getItem('mx_user_has_used_encryption');
|
userHasUsedEncryption = localStorage.getItem('mx_user_has_used_encryption');
|
||||||
}
|
}
|
||||||
if (!userHasUsedEncryption) {
|
if (!userHasUsedEncryption) {
|
||||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
Modal.createDialog(QuestionDialog, {
|
Modal.createDialog(QuestionDialog, {
|
||||||
title: "Warning!",
|
title: "Warning!",
|
||||||
hasCancelButton: false,
|
hasCancelButton: false,
|
||||||
|
|
Loading…
Reference in a new issue