You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
var -> const
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user