Skip to content

Commit

Permalink
fix(@clayui/vertical-nav): Fix focusable vertica navbar when item has…
Browse files Browse the repository at this point in the history
… active property equals to false
  • Loading branch information
ilzamcmed committed Nov 28, 2023
1 parent 5e0475e commit aa3078b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clay-core/src/vertical-nav/VerticalNav.tsx
Expand Up @@ -113,7 +113,7 @@ function depthActive<T extends Record<string, any>>(
items: Array<T>
): T | undefined {
return items.find((item) => {
if ('active' in item) {
if (item['active']) {
return true;
}

Expand Down

0 comments on commit aa3078b

Please sign in to comment.