Skip to content

Commit 25d337f

Browse files
committed
update to use Heading component
1 parent 1c1f103 commit 25d337f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/Staking/StakingProductsCardGrid.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
BoxProps,
77
Center,
88
Flex,
9+
Heading,
910
HStack,
1011
Icon,
1112
List,
@@ -213,9 +214,9 @@ const StakingProductCard: React.FC<ICardProps> = ({
213214
maxH={24}
214215
>
215216
{!!Svg && <Icon as={Svg} fontSize="2rem" color="white" />}
216-
<OldHeading fontSize="2xl" color="white" mb={0}>
217+
<Heading as="h4" fontSize="2xl" color="white">
217218
{name}
218-
</OldHeading>
219+
</Heading>
219220
</HStack>
220221
{typeof minEth !== "undefined" && (
221222
<Center

0 commit comments

Comments
 (0)