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

pull/2/head
Qstick 5 years ago
parent 51af4011a3
commit c22c7eff60

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

Loading…
Cancel
Save