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');
|
||||
}
|
||||
if (!userHasUsedEncryption) {
|
||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
Modal.createDialog(QuestionDialog, {
|
||||
title: "Warning!",
|
||||
hasCancelButton: false,
|
||||
|
|
Loading…
Reference in a new issue