Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix error: "checker is not a function" in stream components #442

Merged

Conversation

dexter21767-dev
Copy link
Member

@dexter21767-dev dexter21767-dev commented Aug 14, 2023

wrap player objects inside PropTypes.shape() to define the object shape

error logs from google chrome's console:
Warning: Failed prop type: checker is not a function at Stream (webpack-internal:///./src/routes/MetaDetails/StreamsList/Stream/Stream.js:35:24) at StreamsList (webpack-internal:///./src/routes/MetaDetails/StreamsList/StreamsList.js:62:24) at div at div at MetaDetails (webpack-internal:///./src/routes/MetaDetails/MetaDetails.js:45:24) at Suspense at withCoreSuspender (webpack-internal:///./src/common/CoreSuspender.js:52:24) at div at ModalsContainerProvider (webpack-internal:///./src/router/ModalsContainerContext/ModalsContainerProvider.js:21:23) at div at Route (webpack-internal:///./src/router/Route/Route.js:10:23) at div at Router (webpack-internal:///./src/router/Router/Router.js:42:24) at withProtectedRoutes (webpack-internal:///./src/App/withProtectedRoutes.js:14:19) at Suspense at withCoreSuspender (webpack-internal:///./src/common/CoreSuspender.js:52:24) at ToastProvider (webpack-internal:///./src/common/Toast/ToastProvider.js:33:24) at ServicesProvider (webpack-internal:///./src/services/ServicesContext/ServicesProvider.js:9:28) at App (webpack-internal:///./src/App/App.js:55:25)

@jaruba jaruba merged commit 25c247b into development Aug 16, 2023
2 checks passed
@nklhtv nklhtv deleted the fix-error-checker-is-not-a-function-on-stream-components branch October 10, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants