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

Failed prop type: SearchSvg: prop type style is invalid; it must be a function, usually from the prop-types package, but received undefined. #2081

Open
stonesthatwhisper opened this issue Sep 30, 2022 · 0 comments
Assignees
Labels

Comments

@stonesthatwhisper
Copy link

stonesthatwhisper commented Sep 30, 2022

Affected Projects
React

Library Version: x.y.z
"@appbaseio/reactivesearch": "3.40.2",

Describe the bug

Warning: Failed prop type: SearchSvg: prop type `style` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.
    at SearchSvg
    at DataSearch (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/search/DataSearch.js:132:3)
    at eval (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/search/DataSearch.js:1777:58)
    at render
    at Connect (webpack-internal:///./node_modules/react-redux/es/components/connectAdvanced.js:159:37)
    at ComponentWrapper (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/basic/ComponentWrapper.js:47:3)
    at Connect (webpack-internal:///./node_modules/react-redux/es/components/connectAdvanced.js:159:37)
    at PreferencesConsumer (webpack-internal:///./node_modules/@appbaseio/reactivesearch/lib/components/basic/PreferencesConsumer.js:25:22)
    at DataSearch
    at div
    at Toolbar (webpack-internal:///./node_modules/@material-ui/core/esm/Toolbar/Toolbar.js:49:23)
    at WithStyles (webpack-internal:///./node_modules/@material-ui/core/node_modules/@material-ui/styles/esm/withStyles/withStyles.js:61:31)
    at header
    at Paper (webpack-internal:///./node_modules/@material-ui/core/esm/Paper/Paper.js:48:23)
    at WithStyles (webpack-internal:///./node_modules/@material-ui/core/node_modules/@material-ui/styles/esm/withStyles/withStyles.js:61:31)
    at AppBar (webpack-internal:///./node_modules/@material-ui/core/esm/AppBar/AppBar.js:107:23)

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants