Use defaultProps to ensure postIds prop exists for ChannelPeek (#2159)

This commit is contained in:
Harrison Healey 2018-09-25 10:47:28 -04:00 committed by Elias Nahum
parent 6e25dbf04b
commit 45b8d97168

View file

@ -23,6 +23,7 @@ export default class ChannelPeek extends PureComponent {
};
static defaultProps = {
postIds: [],
postVisibility: 15,
};