mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
adapt route proptype for url params with latest changes in router
This commit is contained in:
parent
21e50d323a
commit
f64a633f25
4 changed files with 4 additions and 4 deletions
|
|
@ -229,7 +229,7 @@ const Addons = ({ urlParams, queryParams }) => {
|
|||
};
|
||||
|
||||
Addons.propTypes = {
|
||||
urlParams: PropTypes.exact({
|
||||
urlParams: PropTypes.shape({
|
||||
transportUrl: PropTypes.string,
|
||||
catalogId: PropTypes.string,
|
||||
type: PropTypes.string
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ const Discover = ({ urlParams, queryParams }) => {
|
|||
};
|
||||
|
||||
Discover.propTypes = {
|
||||
urlParams: PropTypes.exact({
|
||||
urlParams: PropTypes.shape({
|
||||
transportUrl: PropTypes.string,
|
||||
type: PropTypes.string,
|
||||
catalogId: PropTypes.string
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ const MetaDetails = ({ urlParams }) => {
|
|||
};
|
||||
|
||||
MetaDetails.propTypes = {
|
||||
urlParams: PropTypes.exact({
|
||||
urlParams: PropTypes.shape({
|
||||
type: PropTypes.string,
|
||||
id: PropTypes.string,
|
||||
videoId: PropTypes.string
|
||||
|
|
|
|||
|
|
@ -410,7 +410,7 @@ const Player = ({ urlParams }) => {
|
|||
};
|
||||
|
||||
Player.propTypes = {
|
||||
urlParams: PropTypes.exact({
|
||||
urlParams: PropTypes.shape({
|
||||
stream: PropTypes.string,
|
||||
streamTransportUrl: PropTypes.string,
|
||||
metaTransportUrl: PropTypes.string,
|
||||
|
|
|
|||
Loading…
Reference in a new issue