CodeWithHarry / NewsMonkey-React

News App created using React and NewsAPI
268 stars 205 forks source link

Cannot read properties of undefined (reading 'map') #40

Open niroop893 opened 1 week ago

niroop893 commented 1 week ago

TypeError: Cannot read properties of undefined (reading 'map') at News.render (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:318:39) at finishClassComponent (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:24460:35) at updateClassComponent (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:24417:28) at beginWork (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:26050:20) at HTMLUnknownElement.callCallback (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:11013:18) at Object.invokeGuardedCallbackDev (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:11057:20) at invokeGuardedCallback (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:11114:35) at beginWork$1 (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:31012:11) at performUnitOfWork (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:30260:16) at workLoopSync (https://dde0d5db-705e-454d-bdad-04be6e869cc0-00-v8j3cxmohgr8.pike.replit.dev:3000/static/js/bundle.js:30183:9)