Add default value for Queue count to avoid failed prop type

(cherry picked from commit 43ed7730f08de7baddbdafcccd99370258593221)
pull/4224/head
Bogdan 1 year ago
parent bba85f11e6
commit 6224fe95b5

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

Loading…
Cancel
Save