codestates / codestates/BanThing
[Error Handling] 오브젝트는 React child로 사용할 수 없다는 에러
Open
client
error
solved
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### 어떤 에러인가요?
- 오브젝트는 React child로 사용할 수 없다는 에러입니다.
```
$ Error: Objects are not valid as a React child (found: object with keys {children}). If you meant to render a collection of children, use an array instead.
```
### 에러 핸들링 방법

- props로 받아온 children의 오브젝트의 형태로 전달됩니다. 우리는 이 안에 있는 값을 사용해야하기 때문에 오브젝트로 감싸줍니다.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.