Unexpected Application Error!

useState is not defined

ReferenceError: useState is not defined
    at je (http://localhost:4173/assets/hospital-lp-D2fbhmBV.js:1:16051)
    at rs (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:30:17092)
    at ps (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:32:3158)
    at mf (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:32:44849)
    at cf (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:32:39986)
    at lh (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:32:39914)
    at gl (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:32:39767)
    at _s (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:32:36096)
    at lf (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:32:35044)
    at H (http://localhost:4173/assets/vendor-radix-C6dA1Zyx.js:17:1620)

💿 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.