Fixed: Don't crash due to null Formats on Quality edit

This commit is contained in:
Qstick 2020-01-02 22:24:15 -05:00
parent 51af4011a3
commit c22c7eff60
1 changed files with 4 additions and 0 deletions

View File

@ -26,4 +26,8 @@ MovieFormats.propTypes = {
formats: PropTypes.arrayOf(PropTypes.object).isRequired
};
MovieFormats.defaultProps = {
formats: []
};
export default MovieFormats;