1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Prevent undefined class from being added to Tabs (#9563)

This commit is contained in:
David Walsh 2020-10-12 18:20:00 -05:00 committed by GitHub
parent a3b434df46
commit a5ff8aff80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ const Tab = (props) => {
className,
{
'tab--active': isActive,
[activeClassName]: isActive,
[activeClassName]: activeClassName && isActive,
},
)}
data-testid={dataTestId}