nextjs <Image>
๋ฅผ ์ฌ์ฉํ๋ค๋ณด๋ฉด, ์ฌ๋ฌ warning๊ณผ ์กฐ์ฐํ๊ฒ ๋๋๋ฐ, ์ด๋ฒ์ฃผ๋ ์๋์ warning์ด๋ค.
Image with src "http://localhost:3000/logo-light.svg" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles 'width: "auto"' or 'height: "auto"' to maintain the aspect ratio.
<a
href="www.naver.com"
target="_blank"
className="w-[102px] h-[19.41px] ml-[24px]"
>
<Image
src="/logo-light.svg"
alt="light Logo"
width={102}
height={19.41}
/>
</a>
์ด๋ฐ ์ ๋ฐ ํด๊ฒฐ๋ฐฉ๋ฒ๋ค์ด ์์๋๋ฐ, ์์ ์ํฉ์์๋ ๋ฌธ์ ๊ฐ ์์ซ์ ์ด์๋ค
์๋ ๊นํ ๋๊ธ์ ์ฐธ๊ณ !
https://github.com/vercel/next.js/issues/40762#issuecomment-1473139712