useEffect를 이용하면 이미지 태그에 defaultValue를 줄 수 있다.
useEffect(() => { if (data?.fetchBoard.images?.length) { setImgUrl([...data?.fetchBoard.images]); } }, [data]);
edit 디렉토리에서 받아온 data를 이용해 imgUrl state에 delfaultValue를 준다.