확인 해봤더니
"State updates from the useState() and useReducer() Hooks don't support the " + 'second callback argument. To execute a side effect after ' + 'rendering, declare it in the component body with useEffect()"State updates from the useState() and useReducer() Hooks don't support the " + 'second callback argument. To execute a side effect after ' + 'rendering, declare it in the component body with useEffect()
console.log(setTea); 결과입니다
tea = shoes 입니다
teaData는 data.Js 에서 가져온 것입니다
let [tea, setTea] = useState(TeaData);
이 문제 인것 같습니다
구글에 검색해보니 조금 이해하기가 힘들어 도움 부탁드립니다