Skip to content

Commit 231cf72

Browse files
committed
refactor style props
1 parent 62970bf commit 231cf72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/TableOfContents/ItemsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const ItemsList = ({
2828
<ListItem key={index} m={0} {...rest}>
2929
<ToCLink depth={depth} item={item} activeHash={activeHash} />
3030
{items && (
31-
<List key={title} fontSize="sm" ps={2} m={0} mt="2" spacing="2">
31+
<List key={title} fontSize="sm" ps="2" m="0" mt="2" spacing="2">
3232
<ItemsList
3333
items={items}
3434
depth={depth + 1}

src/components/TableOfContents/TableOfContentsLink.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ const Link = ({
5757
_hover={{
5858
...hoverOrActiveStyle,
5959
}}
60-
p={2}
61-
ps={0}
60+
p="2"
61+
ps="0"
6262
sx={{
6363
[$dotBg.variable]: "var(--eth-colors-primary-hover)",
6464
"&.active": {

0 commit comments

Comments
 (0)