Skip to content

Commit 398c9cd

Browse files
refactor(wallet-filter-sidebar): use Heading on button
1 parent 5d23573 commit 398c9cd

File tree

1 file changed

+7
-2
lines changed
  • src/components/FindWallet/WalletFilterSidebar

1 file changed

+7
-2
lines changed

src/components/FindWallet/WalletFilterSidebar/index.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
Box,
1010
chakra,
1111
GridItem,
12+
Heading,
1213
HStack,
1314
Icon,
1415
List,
@@ -80,10 +81,14 @@ const WalletFilterSidebar: React.FC<WalletFilterSidebarProps> = ({
8081
>
8182
{({ isExpanded }) => (
8283
<>
83-
<chakra.h3
84+
<Heading
85+
as="h3"
8486
color="primary"
8587
borderBottom={isExpanded ? "1px" : "none"}
8688
borderColor="currentColor"
89+
fontSize="2xl"
90+
fontWeight={600}
91+
lineHeight={1.4}
8792
m={0}
8893
pb={isExpanded ? 3 : 0}
8994
px={4}
@@ -100,7 +105,7 @@ const WalletFilterSidebar: React.FC<WalletFilterSidebarProps> = ({
100105
</Box>
101106
<AccordionIcon color="primary" boxSize={9} />
102107
</AccordionButton>
103-
</chakra.h3>
108+
</Heading>
104109
<AccordionPanel as={List} p={0} m={0}>
105110
{filterOption.items.map((item, itemIdx) => {
106111
return (

0 commit comments

Comments
 (0)