You've already forked matrix-react-sdk
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:
@@ -64,10 +64,10 @@ function parseIntWithDefault(val, def) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface IBannedUserProps {
|
interface IBannedUserProps {
|
||||||
canUnban: boolean;
|
canUnban?: boolean;
|
||||||
member: RoomMember;
|
member: RoomMember;
|
||||||
by: string;
|
by: string;
|
||||||
reason: string;
|
reason?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class BannedUser extends React.Component<IBannedUserProps> {
|
export class BannedUser extends React.Component<IBannedUserProps> {
|
||||||
|
|||||||
Reference in New Issue
Block a user