Fix optional props

This commit is contained in:
J. Ryan Stinnett 2021-04-26 14:56:43 +01:00
parent 83596c7335
commit 1b615eebc1

View file

@ -64,10 +64,10 @@ function parseIntWithDefault(val, def) {
}
interface IBannedUserProps {
canUnban: boolean;
canUnban?: boolean;
member: RoomMember;
by: string;
reason: string;
reason?: string;
}
export class BannedUser extends React.Component<IBannedUserProps> {