Alternate titles prop validation
This commit is contained in:
parent
653db8290e
commit
b5f08a8f06
|
@ -26,7 +26,7 @@ function SeriesAlternateTitles({ alternateTitles }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SeriesAlternateTitles.propTypes = {
|
SeriesAlternateTitles.propTypes = {
|
||||||
alternateTitles: PropTypes.arrayOf(PropTypes.string).isRequired
|
alternateTitles: PropTypes.arrayOf(PropTypes.object).isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
export default SeriesAlternateTitles;
|
export default SeriesAlternateTitles;
|
||||||
|
|
|
@ -704,7 +704,7 @@ SeriesDetails.propTypes = {
|
||||||
overview: PropTypes.string.isRequired,
|
overview: PropTypes.string.isRequired,
|
||||||
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
seasons: PropTypes.arrayOf(PropTypes.object).isRequired,
|
seasons: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
alternateTitles: PropTypes.arrayOf(PropTypes.string).isRequired,
|
alternateTitles: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
tags: PropTypes.arrayOf(PropTypes.number).isRequired,
|
tags: PropTypes.arrayOf(PropTypes.number).isRequired,
|
||||||
isSaving: PropTypes.bool.isRequired,
|
isSaving: PropTypes.bool.isRequired,
|
||||||
saveError: PropTypes.object,
|
saveError: PropTypes.object,
|
||||||
|
|
Loading…
Reference in New Issue