Skip to content

Commit

Permalink
Fix theme conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea committed Dec 6, 2024
1 parent a039b7b commit e826141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sandbox/grommet-app/src/theme.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@ const buildTheme = tokens => {
? components.hpe.button.medium.default.borderWidth
: components.hpe.button.default.medium.borderWidth
] || oldTheme
? components.hpe.button.medium.default.borderWidth
? components.hpe.button.medium?.default.borderWidth
: components.hpe.button.default.medium.borderWidth,
},
pad: {
Expand All @@ -2197,7 +2197,7 @@ const buildTheme = tokens => {
? components.hpe.button.large.default.borderWidth
: components.hpe.button.default.large.borderWidth
] || oldTheme
? components.hpe.button.large.default.borderWidth
? components.hpe.button.large?.default.borderWidth
: components.hpe.button.default.large.borderWidth,
},
pad: {
Expand Down

0 comments on commit e826141

Please sign in to comment.