Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead in React/ant design [antd]

The solution for “Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead in React/ant design [antd]” can be found here. The following code will assist you in solving the problem.

// only have one child !
// It’s like, React JSX should only have one root component returned.

…1
…2

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in