Skip to content

Commit 33165ff

Browse files
authored
Merge pull request #8821 from ImMiguelP/chakra-stakingguides
refactor: stakingguides to chakra
2 parents 24e37e9 + 610b265 commit 33165ff

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/components/Staking/StakingGuides.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
// Libraries
22
import React from "react"
3-
import styled from "@emotion/styled"
43

54
// Components
65
import CardList from "../CardList"
7-
8-
const StyledCardList = styled(CardList)`
9-
display: flex;
10-
flex-direction: column;
11-
gap: 1rem;
12-
`
6+
import { Stack } from "@chakra-ui/react"
137

148
export interface IProps {}
159

@@ -32,7 +26,7 @@ const StakingGuides: React.FC<IProps> = () => {
3226
},
3327
]
3428

35-
return <StyledCardList content={guides} />
29+
return <Stack as={CardList} direction="column" gap={4} content={guides} />
3630
}
3731

3832
export default StakingGuides

0 commit comments

Comments
 (0)