mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-02 20:31:21 +02:00
delint
This commit is contained in:
parent
90bb7c1482
commit
54241f44c2
@ -16,7 +16,6 @@ limitations under the License.
|
|||||||
|
|
||||||
import React, {useCallback, useContext, useEffect, useState} from "react";
|
import React, {useCallback, useContext, useEffect, useState} from "react";
|
||||||
import { Room } from "matrix-js-sdk/src/models/room";
|
import { Room } from "matrix-js-sdk/src/models/room";
|
||||||
import { RoomState } from "matrix-js-sdk/src/models/room-state";
|
|
||||||
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
||||||
import { EventType } from 'matrix-js-sdk/src/@types/event';
|
import { EventType } from 'matrix-js-sdk/src/@types/event';
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
|
|||||||
if (refreshWhenTypes.includes(e.getType())) this.forceUpdate();
|
if (refreshWhenTypes.includes(e.getType())) this.forceUpdate();
|
||||||
};
|
};
|
||||||
|
|
||||||
private onEncryptionChange = (e: React.ChangeEvent) => {
|
private onEncryptionChange = () => {
|
||||||
Modal.createTrackedDialog('Enable encryption', '', QuestionDialog, {
|
Modal.createTrackedDialog('Enable encryption', '', QuestionDialog, {
|
||||||
title: _t('Enable encryption?'),
|
title: _t('Enable encryption?'),
|
||||||
description: _t(
|
description: _t(
|
||||||
|
@ -57,7 +57,6 @@ const useLocalEcho = <T extends any>(
|
|||||||
};
|
};
|
||||||
|
|
||||||
const SpaceSettingsVisibilityTab = ({ matrixClient: cli, space }: IProps) => {
|
const SpaceSettingsVisibilityTab = ({ matrixClient: cli, space }: IProps) => {
|
||||||
const [busy, setBusy] = useState(false);
|
|
||||||
const [error, setError] = useState("");
|
const [error, setError] = useState("");
|
||||||
|
|
||||||
const userId = cli.getUserId();
|
const userId = cli.getUserId();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user