Code Monkey home page Code Monkey logo

Comments (3)

sajadhn1988 avatar sajadhn1988 commented on June 28, 2024

Unexpected Application Error! Cannot read properties of undefined (reading 'length') TypeError: Cannot read properties of undefined (reading 'length') at Header (http://localhost:3000/static/js/bundle.js:680:51) at renderWithHooks (http://localhost:3000/static/js/bundle.js:52269:22) at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:55555:17) at beginWork (http://localhost:3000/static/js/bundle.js:56851:20) at beginWork$1 (http://localhost:3000/static/js/bundle.js:61814:18) at performUnitOfWork (http://localhost:3000/static/js/bundle.js:61083:16) at workLoopSync (http://localhost:3000/static/js/bundle.js:61006:9) at renderRootSync (http://localhost:3000/static/js/bundle.js:60979:11) at recoverFromConcurrentError (http://localhost:3000/static/js/bundle.js:60471:24) at performConcurrentWorkOnRoot (http://localhost:3000/static/js/bundle.js:60383:26) 💿 Hey developer 👋

You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.

consider the following: cartItems && cartItems.length === 0

from proshop-v2.

bushblade avatar bushblade commented on June 28, 2024

Hi @sajadhn1988
Are you a student of Brads? If so can you post in the course Q&A or over on Brads Discord server please, make sure to include a link to your projects repository.
If you're not a student then can you tell me if this is using the repository code or your own project?

from proshop-v2.

bushblade avatar bushblade commented on June 28, 2024

Closing due to lack of information and not able to reproduce using repository code.

from proshop-v2.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.