Skip to content

Commit a1a6b83

Browse files
Migrated the all the Chakra imports to Shadcn/Tailwind.
1 parent aa64bd6 commit a1a6b83

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Staking/StakingComparison.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useTranslation } from "next-i18next"
2-
import { Box, Heading, useTheme } from "@chakra-ui/react"
2+
import {useTheme } from "@chakra-ui/react"
33

44
import type { StakingPage, TranslationKey } from "@/lib/types"
55

@@ -142,10 +142,10 @@ const StakingComparison = ({ page, className }: StakingComparisonProps) => {
142142
{glyph}
143143
</Flex>
144144
)}
145-
<Box>
146-
<Heading as="h3" fontSize="2xl" color={color} mb={2}>
145+
<div>
146+
<h3 className={`font-2xl text-${color} mb-2`}>
147147
{t(title)}
148-
</Heading>
148+
</h3>
149149
<Text>{t(content)}</Text>
150150
<InlineLink
151151
onClick={() => {
@@ -155,7 +155,7 @@ const StakingComparison = ({ page, className }: StakingComparisonProps) => {
155155
>
156156
{t(linkText)}
157157
</InlineLink>
158-
</Box>
158+
</div>
159159
</Flex>
160160
)
161161
)}

0 commit comments

Comments
 (0)