Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-09-14 13:57:03 +02:00
parent bd6399242e
commit 117027636b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Minor internal tweak to handle `classnames` update
@@ -351,7 +351,7 @@ export const WorkaroundNavLink = React.forwardRef<
aria-current={ariaCurrent}
style={{ ...style, ...(isActive ? activeStyle : undefined) }}
className={classnames([
className,
typeof className !== 'function' ? className : undefined,
isActive ? activeClassName : undefined,
])}
/>