Skip to content
Advertisement

Problems in Grid when using material UI

Hello am trying to build card sets using material UI I’ve sorted data from a javascript object but when I compile the result is not what am looking for here’s the code am using.

JavaScript

And the result is this:

enter image description here

instead of this:

enter image description here

P.S.: the second picture coded manually

Advertisement

Answer

i’ve tried this one and it worked for me

JavaScript

I wrapped the map with a container and wrapped the card with Grid and it worked

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement