Use defaultProps to ensure postIds prop exists for ChannelPeek (#2159)
This commit is contained in:
parent
6e25dbf04b
commit
45b8d97168
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ export default class ChannelPeek extends PureComponent {
|
|||
};
|
||||
|
||||
static defaultProps = {
|
||||
postIds: [],
|
||||
postVisibility: 15,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue