강의에서 말씀하신대로 따라했는데요 !! 자꾸 에러가 나네요 ㅜㅜ
bootstrap에서 복붙하면 작동하는데
react-bootstrap에서 복붙하면 오류가 납니다.
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
이런 문구가 뜨네요 ㅜㅜ
구글링하니까 터미널에 npm ls react 쳐서 react 중복이 있는지 확인해보라고 하던데
저는 까막눈이라 이게 중복인지도 모르겠네요 ㅜㅜ 해결책 좀 알려주세요 !!
이건 제가 참고한 사이트입니다.
https://ko.reactjs.org/warnings/invalid-hook-call-warning.html



