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