mirror of
https://github.com/Readarr/Readarr
synced 2026-01-14 03:23:30 +01:00
Add default value for Queue count to avoid failed prop type
(cherry picked from commit 43ed7730f08de7baddbdafcccd99370258593221)
This commit is contained in:
parent
bd25c9e3e0
commit
2c8e0b1ca4
1 changed files with 4 additions and 0 deletions
|
|
@ -338,4 +338,8 @@ Queue.propTypes = {
|
|||
onRemoveSelectedPress: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
Queue.defaultProps = {
|
||||
count: 0
|
||||
};
|
||||
|
||||
export default Queue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue