mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-16 18:21:40 +02:00
Add default value for Queue count to avoid failed prop type
This commit is contained in:
parent
3a99c2781b
commit
43ed7730f0
1 changed files with 4 additions and 0 deletions
|
|
@ -357,4 +357,8 @@ Queue.propTypes = {
|
|||
onFilterSelect: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
Queue.defaultProps = {
|
||||
count: 0
|
||||
};
|
||||
|
||||
export default Queue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue