Add default value for Queue count to avoid failed prop type

(cherry picked from commit 43ed7730f08de7baddbdafcccd99370258593221)
This commit is contained in:
Bogdan
2023-10-17 18:47:12 +03:00
parent bd25c9e3e0
commit 2c8e0b1ca4

View File

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