1
0
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:
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, className,
{ {
'tab--active': isActive, 'tab--active': isActive,
[activeClassName]: isActive, [activeClassName]: activeClassName && isActive,
}, },
)} )}
data-testid={dataTestId} data-testid={dataTestId}