Alternate titles prop validation

This commit is contained in:
Mark McDowall 2021-02-07 15:49:25 -08:00
parent 653db8290e
commit b5f08a8f06
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ function SeriesAlternateTitles({ alternateTitles }) {
}
SeriesAlternateTitles.propTypes = {
alternateTitles: PropTypes.arrayOf(PropTypes.string).isRequired
alternateTitles: PropTypes.arrayOf(PropTypes.object).isRequired
};
export default SeriesAlternateTitles;

View File

@ -704,7 +704,7 @@ SeriesDetails.propTypes = {
overview: PropTypes.string.isRequired,
images: 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,
isSaving: PropTypes.bool.isRequired,
saveError: PropTypes.object,