Error: Objects are not valid as a React child (found: object with keys {A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z}). If you meant to render a collection of children, use an array instead. code example
Example: Objects are not valid as a React child
<SomeComponent>
{ property1: 'someText', property2: 69 }
</SomeComponent>
<SomeComponent>
<AnotherComponent />
<p>Hello, World</p>
</SomeComponent>
<SomeComponent>
const someObject = { property1: 'someText', property2: 69 };
someObject.map(function(item, i) => <li key={i}>{item}</li>)
</SomeComponent>