undefined
-
에러 일지 TypeError: Cannot read property 'hasOwnProperty' of undefinedReact 2023. 11. 28. 13:34
MUI Modal을 사용하다가 TypeError: Cannot read property 'hasOwnProperty' of undefined 를 만났다 - 수정 전 {items?.map((item) => { return( .... ) })} - 수정 후 {items?.map((item) => { return( .... ) })} Modal 안에 자식 태그가 있어야 한다 !! 참고https://stackoverflow.com/questions/56622246/react-material-ui-modal-typeerror-cannot-read-property-hasownproperty-of-unde