in map function Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>? code example
Example: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...>?
render() {
return (
<React.Fragment>
<ChildA />
<ChildB />
<ChildC />
</React.Fragment>
);
}