File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
src/components/Staking/StakingProductsCardGrid Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
- import { SimpleGrid } from "@chakra-ui/react"
2
-
3
1
import { StakingProductCard } from "./StakingProductCard"
4
2
import { StakingProductsCategoryKeys } from "./types"
5
3
import { useStakingProductsCardGrid } from "./useStakingProductsCardGrid"
@@ -14,16 +12,15 @@ const StakingProductsCardGrid = ({
14
12
const { rankedProducts } = useStakingProductsCardGrid ( { category } )
15
13
16
14
return (
17
- < SimpleGrid
18
- templateColumns = "repeat(auto-fill, minmax(min(100%, 280px), 1fr))"
19
- gap = { 8 }
20
- my = { 12 }
21
- mx = { 0 }
15
+ < div
16
+ className = {
17
+ "mx-0 my-12 grid grid-cols-[repeat(auto-fill,minmax(280px,1fr))] gap-8"
18
+ }
22
19
>
23
20
{ rankedProducts . map ( ( product ) => (
24
21
< StakingProductCard key = { product . name } product = { product } />
25
22
) ) }
26
- </ SimpleGrid >
23
+ </ div >
27
24
)
28
25
}
29
26
You can’t perform that action at this time.
0 commit comments