fix double highlight of sol
This commit is contained in:
parent
a717a4c88c
commit
e666ea0f47
|
@ -71,12 +71,12 @@ export default function MarketMenuItem({ menuTitle = '', linksArray = [] }) {
|
|||
<div className="flex items-center px-3 h-10 text-th-fgd-3 hover:text-th-primary focus:outline-none">
|
||||
<SymbolIcon
|
||||
className={`h-3.5 w-auto mr-1.5 ${
|
||||
asPath.includes(menuTitle) && 'text-th-primary'
|
||||
asPath.includes(`=${menuTitle}`) && 'text-th-primary'
|
||||
}`}
|
||||
/>
|
||||
<span
|
||||
className={`font-normal text-xs ${
|
||||
asPath.includes(menuTitle) && 'text-th-primary'
|
||||
asPath.includes(`=${menuTitle}`) && 'text-th-primary'
|
||||
}`}
|
||||
>
|
||||
{menuTitle}
|
||||
|
|
Loading…
Reference in New Issue