Add default value for Queue count to avoid failed prop type

This commit is contained in:
Bogdan 2023-10-17 18:47:12 +03:00 committed by Mark McDowall
parent 3a99c2781b
commit 43ed7730f0
1 changed files with 4 additions and 0 deletions

View File

@ -357,4 +357,8 @@ Queue.propTypes = {
onFilterSelect: PropTypes.func.isRequired
};
Queue.defaultProps = {
count: 0
};
export default Queue;