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) {