Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 1544e5b

Browse files
committed
Type FacePile
1 parent a53de43 commit 1544e5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/views/elements/FacePile.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import React, { HTMLAttributes, ReactNode, useContext } from "react";
17+
import React, { FC, HTMLAttributes, ReactNode, useContext } from "react";
1818
import { Room } from "matrix-js-sdk/src/models/room";
1919
import { RoomMember } from "matrix-js-sdk/src/models/room-member";
2020
import { sortBy } from "lodash";
@@ -36,7 +36,7 @@ interface IProps extends HTMLAttributes<HTMLSpanElement> {
3636

3737
const isKnownMember = (member: RoomMember) => !!DMRoomMap.shared().getDMRoomsForUserId(member.userId)?.length;
3838

39-
const FacePile = ({ room, onlyKnownUsers = true, numShown = DEFAULT_NUM_FACES, ...props }: IProps) => {
39+
const FacePile: FC<IProps> = ({ room, onlyKnownUsers = true, numShown = DEFAULT_NUM_FACES, ...props }) => {
4040
const cli = useContext(MatrixClientContext);
4141
const isJoined = room.getMyMembership() === "join";
4242
let members = useRoomMembers(room);

0 commit comments

Comments
 (0)