Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions apps/site/components/Containers/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ const NavBar: FC<NavbarProps> = ({
id="sidebarItemToggler"
type="checkbox"
onChange={e => setIsMenuOpen(() => e.target.checked)}
aria-label={t(
`components.containers.navBar.controls.${isMenuOpen ? 'close' : 'open'}`
)}
aria-label={t(`components.containers.navBar.controls.open`)}
Comment thread
aduh95 marked this conversation as resolved.
Outdated
/>

<div className={`${style.main} peer-checked:flex`}>
Expand Down
3 changes: 1 addition & 2 deletions packages/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
},
"navBar": {
"controls": {
"open": "Show navigation menu",
"close": "Close navigation menu"
"open": "Show navigation menu"
Comment thread
aduh95 marked this conversation as resolved.
Outdated
},
"links": {
"about": "About",
Expand Down