Skip to content

Commit

Permalink
fix bug with theme provider
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoskolodny committed Nov 11, 2024
1 parent 2d9f5d7 commit f2c0306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const HeaderLayout = ({

return (
<div {...getPrefixedDataAttributes({'component-name': 'HeaderLayout', ...dataAttributes})}>
<ResponsiveLayout variant={isInverse ? 'inverse' : 'default'}>
<ResponsiveLayout variant={isInverse ? 'inverse' : undefined}>
<Box
paddingTop={
noPaddingY
Expand Down Expand Up @@ -257,7 +257,7 @@ export const MainSectionHeaderLayout = ({
useSetOverscrollColor(isInverse ? {topColor: vars.colors.backgroundBrandTop} : {});
return (
<ResponsiveLayout
variant={isInverse ? 'inverse' : 'default'}
variant={isInverse ? 'inverse' : undefined}
dataAttributes={{'component-name': 'MainSectionHeaderLayout', ...dataAttributes}}
>
<GridLayout
Expand Down

0 comments on commit f2c0306

Please sign in to comment.