1

(匿名函数)F:/Udit/React Project/E-Commerce/e_commerce/src/Component/CheckoutForm/AddressForm.jsx:26

24 | }

25 | 使用效果(()=> {

26 | fetchShippingCountries(checkoutToken.id); | ^ 27 | }, []); 28 |
29 | 返回 (

  • 编译版-----

TypeError:无法读取 null 的属性(读取 'id')(匿名函数) http://localhost:3000/static/js/main.chunk.js:1009:42 1006 | }; 1007 | 1008 | 对象(反应__WEBPACK_IMPORTED_MODULE_0__[“useEffect”])(()=> {

1009 | fetchShippingCountries(checkoutToken.id); | ^ 1010 | }, []); 1011 | return / # PURE /Object(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_5__["jsxDEV"])

4

0 回答 0