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: Cannot update a component #44

Open
niroop893 opened this issue Jun 19, 2024 · 0 comments
Open

Warning: Cannot update a component #44

niroop893 opened this issue Jun 19, 2024 · 0 comments

Comments

@niroop893
Copy link

Error: Warning: Cannot update a component (`App`) while rendering a different component (`Navbar`). To locate the bad setState() call inside `Navbar`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
at Navbar (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:567:58)
at Router (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:41593:15)
at BrowserRouter (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:39546:5)
at App (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:42:74)https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:567
at Navbar (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:567:58)
at Router (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:41593:15)
at BrowserRouter (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:39546:5)
at App (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:42:74)


at t.formatMsg (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/__replco/static/devtools/devtools.js:74:4990)
at new e (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/__replco/static/devtools/devtools.js:74:1632)
at t.insertSync (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/__replco/static/devtools/devtools.js:97:17133)
at https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/__replco/static/devtools/devtools.js:97:18736
Error: Warning: Navbar: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
at Navbar (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:567:58)
at Router (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:41593:15)
at BrowserRouter (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:39546:5)
at App (https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:42:74)https://36a6671d-a2ee-4c3b-82ba-f68dd497060c-00-12c7roji1de4b.pike.replit.dev:3000/static/js/bundle.js:567

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

No branches or pull requests

1 participant