skip to Main Content

React: Cannot read properties of undefined (reading '0') – Reactjs

i am getting the error Grade.jsx:52 Uncaught TypeError: Cannot read properties of undefined (reading '0') at Grade.jsx:52:1 at Array.map (<anonymous>) at Grade (Grade.jsx:39:1) at renderWithHooks (react-dom.development.js:16305:1) at mountIndeterminateComponent (react-dom.development.js:20074:1) at beginWork (react-dom.development.js:21587:1) at HTMLUnknownElement.callCallback (react-dom.development.js:4164:1) at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:1) at invokeGuardedCallback…

VIEW QUESTION

generate JSON file content

I am a beginner with JSON. I have the following in my JSON file (file-1) : { "Aps": [ { "type": "opo", "price_min": 7, "price_max":10, "app_time": 0, "arguments": { "prices": 15, "apps_num": "112" }, "attributes": { "name":"user1", "priority":"100" } }…

VIEW QUESTION
Back To Top
Search