diff --git a/src/app/molecules/room-members/RoomMembers.jsx b/src/app/molecules/room-members/RoomMembers.jsx index 1f21ce18..a1ffd21c 100644 --- a/src/app/molecules/room-members/RoomMembers.jsx +++ b/src/app/molecules/room-members/RoomMembers.jsx @@ -1,5 +1,5 @@ import React, { - useState, useEffect, useCallback, useRef, + useState, useEffect, useCallback, } from 'react'; import PropTypes from 'prop-types'; import './RoomMembers.scss'; @@ -16,7 +16,6 @@ import Input from '../../atoms/input/Input'; import { MenuHeader } from '../../atoms/context-menu/ContextMenu'; import SegmentedControls from '../../atoms/segmented-controls/SegmentedControls'; import PeopleSelector from '../people-selector/PeopleSelector'; -import settings from '../../../client/state/settings'; const PER_PAGE_MEMBER = 50; @@ -144,7 +143,7 @@ function RoomMembers({ roomId }) {
{`${searchMembers ? `Found — ${mList.length}` : members.length} members`} diff --git a/src/app/molecules/room-search/RoomSearch.jsx b/src/app/molecules/room-search/RoomSearch.jsx index a88e6025..64356f00 100644 --- a/src/app/molecules/room-search/RoomSearch.jsx +++ b/src/app/molecules/room-search/RoomSearch.jsx @@ -1,4 +1,4 @@ -import React, { useState, useEffect, useRef } from 'react'; +import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import './RoomSearch.scss';