mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-01 11:03:18 +03:00
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