Fix optional props
This commit is contained in:
parent
83596c7335
commit
1b615eebc1
1 changed files with 2 additions and 2 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue