1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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