Skip to content

Commit d09ea60

Browse files
authored
Change false to undefined (#2122)
1 parent 003cbcf commit d09ea60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/NavList.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function NavItem({to, children}) {
184184
const resolved = useResolvedPath(to)
185185
const isCurrent = useMatch({path: resolved.pathname, end: true})
186186
return (
187-
<NavList.Item as={Link} to={to} aria-current={isCurrent ? 'page' : false}>
187+
<NavList.Item as={Link} to={to} aria-current={isCurrent ? 'page' : undefined}>
188188
{children}
189189
</NavList.Item>
190190
)

0 commit comments

Comments
 (0)