[React] Error : Expected an assignment or function call and instead saw an expression no-unused-expressions

qwe8851·2023년 6월 2일
0

💎 React

목록 보기
31/37

return 안써줘서

만약 map을 사용햇다면 map은 return 이 필요함
map(()=>{return ... })일케쓰던지 map(()=>()); 소괄호 쓰던지..

profile
FrontEnd Developer with React, TypeScript

0개의 댓글