Skip to content

Commit

Permalink
Fix: typography sx
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Dec 23, 2024
1 parent 256d854 commit 4ee2c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

# Safe{Wallet} monorepo

- 🌐 [Safe{Wallet} web app](/apps/web/README.md)
- 📱 [Safe{Wallet} mobile app](/apps/mobile/README.md)
🌐 [Safe{Wallet} web app](/apps/web/README.md) ・ 📱 [Safe{Wallet} mobile app](/apps/mobile/README.md)

## Overview

Expand Down
6 changes: 4 additions & 2 deletions apps/web/src/components/common/Mui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const Box = memo(function Box({
bgcolor,
gridArea,
lineHeight,
sx,
...props
}: BoxProps['sx'] & BoxProps) {
return (
Expand Down Expand Up @@ -99,7 +100,7 @@ export const Box = memo(function Box({
bgcolor,
gridArea,
lineHeight,
...props.sx,
...sx,
},
isUndefined,
)}
Expand Down Expand Up @@ -143,6 +144,7 @@ export const Typography = memo(function Typography({
letterSpacing,
whiteSpace,
width,
sx,
...props
}: TypographyProps['sx'] & TypographyProps) {
return (
Expand Down Expand Up @@ -183,7 +185,7 @@ export const Typography = memo(function Typography({
letterSpacing,
whiteSpace,
width,
...props.sx,
...sx,
},
isUndefined,
)}
Expand Down

0 comments on commit 4ee2c26

Please sign in to comment.