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

Warning: Failed prop type #27

Open
vinit-poojary opened this issue Aug 11, 2020 · 2 comments
Open

Warning: Failed prop type #27

vinit-poojary opened this issue Aug 11, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@vinit-poojary
Copy link

Warning: Failed prop type: Tabs: prop type activeTab is invalid; it must be a function, usually from the prop-types package, but received object.
in Tabs (at HomeBody.jsx:22)
in HomeBody (created by ConnectFunction)
in ConnectFunction (at Homepage.jsx:14)
in section (at Homepage.jsx:12)
in div (at Homepage.jsx:10)
in Homepage (created by Context.Consumer)
in Route (at App.js:12)
in Switch (at App.js:11)
in div (at App.js:10)
in App (at src/index.js:32)
in AuthIsLoaded (at src/index.js:31)
in Router (created by BrowserRouter)
in BrowserRouter (at src/index.js:30)
in ReactReduxFirebaseProvider (at src/index.js:29)
in Provider (at src/index.js:28)
in StrictMode (at src/index.js:27)

Okay I followed the demo but getting this warning

@yazaabed
Copy link
Owner

@vinit-poojary-au8 sorry for the late reply. I didn't get a notification that there is a new issue created. I hope I am not late. I will check it for you and deploy a fix. thank you for reporting this.

@yazaabed yazaabed added the bug Something isn't working label Sep 17, 2020
@squalvj
Copy link

squalvj commented Oct 22, 2020

yeah i followed the example aswell but got this error on typescript

No overload matches this call. Overload 2 of 2, '(props: {}, context?: any): Tabs', gave the following error. Property 'title' is missing in type '{ id: string; }' but required in type 'TabInputs'. This JSX tag's 'children' prop expects a single child of type 'ReactDOM', but multiple children were provided. TS2769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants