Next.js 프로젝트를 Vercel을 이용하여 배포하면서 다음과 같은 에러가 떴다.
Error:
'can be escaped with',‘,',’. react/no-unescaped-entities
<div className="flex">There's no careers yet</div>
JSX 안에서 '를 직접 사용하고 있어서 발생한다고 한다. There's
특수 문자를 나타낼 때는 이스케이프 문자열을 사용하는 것이 좋다.
오류 메시지에서 알려준 것처럼 '를 '로 변경해주었더니 배포가 잘 되었다!!!
<div className="flex">There's no careers yet</div>