Open jackow98 opened 5 years ago
Unhandled Rejection (TypeError): Cannot read property 'accessoriesArray' of undefined _callee$ C:/Users/Owner/WebstormProjects/Besterbikes/src/firebase/accessories.js:37 34 | const stationDocument = stationsCollection.doc(stationID); 35 | const stationDoc = await stationDocument.get(); 36 | const stationData = stationDoc.data();
37 | const accessoriesArray = stationData['bikes']['accessories']['accessoriesArray']; | ^ 38 | 39 | 40 | accessoriesDocs.forEach(accessoryDoc => {
Unhandled Rejection (TypeError): Cannot read property 'accessoriesArray' of undefined _callee$ C:/Users/Owner/WebstormProjects/Besterbikes/src/firebase/accessories.js:37 34 | const stationDocument = stationsCollection.doc(stationID); 35 | const stationDoc = await stationDocument.get(); 36 | const stationData = stationDoc.data();