mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 07:16:36 +01:00
Prevent undefined class from being added to Tabs (#9563)
This commit is contained in:
parent
a3b434df46
commit
a5ff8aff80
@ -20,7 +20,7 @@ const Tab = (props) => {
|
|||||||
className,
|
className,
|
||||||
{
|
{
|
||||||
'tab--active': isActive,
|
'tab--active': isActive,
|
||||||
[activeClassName]: isActive,
|
[activeClassName]: activeClassName && isActive,
|
||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
data-testid={dataTestId}
|
data-testid={dataTestId}
|
||||||
|
Loading…
Reference in New Issue
Block a user