Skip to content

Commit

Permalink
fix for outdated prop in header iconbutton
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasm0 committed Dec 30, 2024
1 parent 27f6376 commit 4fc58c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/theme/Navbar/MobileSidebar/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export default function NavbarMobileSidebarHeader(): JSX.Element {
<NavbarLogo />
<IconButton
label="Sluiten"
onBackground={colorMode === 'light' ? 'light' : 'dark'}
contrastColor={colorMode === 'dark'}
inverseColor={colorMode === 'dark'}
aria-label={translate({
id: 'theme.docs.sidebar.closeSidebarButtonAriaLabel',
message: 'Close navigation bar',
Expand Down

0 comments on commit 4fc58c4

Please sign in to comment.