Fix highlight of active tab
parent
54e8bafbb4
commit
d73cc89a38
|
@ -14,7 +14,7 @@ const SubSectionsTab: SFC<TabProps> = ({
|
||||||
}) => (
|
}) => (
|
||||||
<div
|
<div
|
||||||
className={`subsection--tab ${
|
className={`subsection--tab ${
|
||||||
section.name === activeSection ? 'active' : ''
|
section.url === activeSection ? 'active' : ''
|
||||||
}`}
|
}`}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue