From a5ff8aff8041916886478c7719551349c1decf46 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Mon, 12 Oct 2020 18:20:00 -0500 Subject: [PATCH] Prevent undefined class from being added to Tabs (#9563) --- ui/app/components/ui/tabs/tab/tab.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/ui/tabs/tab/tab.component.js b/ui/app/components/ui/tabs/tab/tab.component.js index de65c70e3..55f1533b6 100644 --- a/ui/app/components/ui/tabs/tab/tab.component.js +++ b/ui/app/components/ui/tabs/tab/tab.component.js @@ -20,7 +20,7 @@ const Tab = (props) => { className, { 'tab--active': isActive, - [activeClassName]: isActive, + [activeClassName]: activeClassName && isActive, }, )} data-testid={dataTestId}