This commit is contained in:
Michael Telatynski 2019-12-17 17:34:03 +00:00
parent 937b32663c
commit da4d72b3c4
5 changed files with 0 additions and 6 deletions

View file

@ -18,7 +18,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import {MatrixClient} from 'matrix-js-sdk';
import FlairStore from '../../../stores/FlairStore';
import dis from '../../../dispatcher';
import MatrixClientContext from "../../../contexts/MatrixClientContext";

View file

@ -17,7 +17,6 @@ limitations under the License.
import React from 'react';
import PropTypes from 'prop-types';
import createReactClass from 'create-react-class';
import {MatrixClient} from 'matrix-js-sdk';
import { Draggable, Droppable } from 'react-beautiful-dnd';
import sdk from '../../../index';
import dis from '../../../dispatcher';

View file

@ -857,8 +857,6 @@ function useRoomPermissions(cli, room, user) {
}
const PowerLevelSection = ({user, room, roomPermissions, powerLevels}) => {
const cli = useContext(MatrixClientContext);
const [isEditing, setEditing] = useState(false);
if (room && user.roomId) { // is in room
if (isEditing) {

View file

@ -26,7 +26,6 @@ import {findEditableEvent} from '../../../utils/EventUtils';
import {parseEvent} from '../../../editor/deserialize';
import {PartCreator} from '../../../editor/parts';
import EditorStateTransfer from '../../../utils/EditorStateTransfer';
import {MatrixClient} from 'matrix-js-sdk';
import classNames from 'classnames';
import {EventStatus} from 'matrix-js-sdk';
import BasicMessageComposer from "./BasicMessageComposer";

View file

@ -2,7 +2,6 @@
import sinon from 'sinon';
import React from 'react';
import PropTypes from 'prop-types';
import peg from '../src/MatrixClientPeg';
import dis from '../src/dispatcher';
import jssdk from 'matrix-js-sdk';