-
카테고리
-
세부 분야
풀스택
-
해결 여부
미해결
이 오류는 어디서 발생하는건가요?
21.08.25 05:20 작성 조회수 122
0
index.js:1 Warning: Encountered two children with the same key, `1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
in select (at UploadProductPage.js:68)
in form (created by Context.Consumer)
in Form (at UploadProductPage.js:49)
in div (at UploadProductPage.js:43)
in UploadProductPage (at auth.js:38)
in AuthenticationCheck (created by Context.Consumer)
in Route (at App.js:24)
in Switch (at App.js:20)
in div (at App.js:19)
in Suspense (at App.js:17)
in App (at src/index.js:29)
in Router (created by BrowserRouter)
in BrowserRouter (at src/index.js:28)
in Provider (at src/index.js:21)
따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
모든 상품 정보를 데이터베이스에 저장하기[삭제 예정]
강의실 바로가기
답변을 작성해보세요.
0
John Ahn
지식공유자2021.08.25
안녕하세요 에러 로그를 보니깐 키값을 같은걸로 주고 계신것 같은데 맞나요 ~ ?
만약 그렇다면 키 값을 유니크한 값으로 바꿔주시면 됩니다.
답변 1