From 68172d12b01518b246b37d669cb9e6a02ce36186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Mon, 1 Aug 2022 19:04:43 +0200 Subject: [PATCH] Make tslint pass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/Facepile.tsx | 4 ++-- src/UserMenuContainer.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Facepile.tsx b/src/Facepile.tsx index 5f661c3..2469892 100644 --- a/src/Facepile.tsx +++ b/src/Facepile.tsx @@ -31,8 +31,8 @@ interface Props extends HTMLAttributes { className: string; client: MatrixClient; participants: RoomMember[]; - max: number; - size: Size; + max?: number; + size?: Size; } export function Facepile({ diff --git a/src/UserMenuContainer.tsx b/src/UserMenuContainer.tsx index 85cb1d7..5818536 100644 --- a/src/UserMenuContainer.tsx +++ b/src/UserMenuContainer.tsx @@ -8,7 +8,7 @@ import { ProfileModal } from "./profile/ProfileModal"; import { UserMenu } from "./UserMenu"; interface Props { - preventNavigation: boolean; + preventNavigation?: boolean; } export function UserMenuContainer({ preventNavigation }: Props) {