codestates / codestates/ThereWeather
[Error Handling] 태그 중복시 에러
Open
error
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
## 어떤 에러인가요?
- 에러 내용
버튼 기능을 잘 하는 것 같으나 콘솔창에 오류메세지가 뜸
## 에러 메시지
```jsx
Warning: validateDOMNesting(...): cannot appear as a descendant of .
```
## 에러 핸들링 방법
```jsx
스타일드 컴포넌트에도 button으로 되어있고, return안에 태그도 button으로 되어있어서 스타일드 컴포넌트 button -> div 수정함
```
## 에러 핸들링을 위해 참고한 레퍼런스 링크
[예시1](https://github.com/aichbauer/styled-bootstrap-components/issues/29)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.