Add default value for Queue count to avoid failed prop type
This commit is contained in:
parent
3a99c2781b
commit
43ed7730f0
|
@ -357,4 +357,8 @@ Queue.propTypes = {
|
|||
onFilterSelect: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
Queue.defaultProps = {
|
||||
count: 0
|
||||
};
|
||||
|
||||
export default Queue;
|
||||
|
|
Loading…
Reference in New Issue