Closed EbokianKnight closed 2 years ago
When dynamically adding tiles into the Layout component, the typing does not like it when you also add manual elements.
Am I guessing correct that when you put the Fragment outside of your .map(...) i.e.
<React.Fragment>{hexTiles.map(...)}</React.Fragment> <Hexagon.../>
it works?
Yup
When dynamically adding tiles into the Layout component, the typing does not like it when you also add manual elements.