Library propTypes for model updated

This commit is contained in:
nklhrstv 2020-03-28 21:29:59 +02:00
parent 35821e2303
commit 34b8ef1444

View file

@ -59,7 +59,7 @@ const Library = ({ model, route, urlParams, queryParams }) => {
};
Library.propTypes = {
model: PropTypes.string,
model: PropTypes.oneOf(['library', 'continue_watching']),
route: PropTypes.string,
urlParams: PropTypes.shape({
type: PropTypes.string