fix mobile market links
This commit is contained in:
parent
e25d62eaa5
commit
8558e4bb45
|
@ -103,12 +103,7 @@ const MarketsModal = ({
|
|||
className={`flex items-center justify-between px-2.5 text-xs`}
|
||||
key={m.name}
|
||||
>
|
||||
<Link
|
||||
href={`/${
|
||||
m.name.slice(-4) === 'PERP' ? 'perp' : 'spot'
|
||||
}/${m.name.slice(0, -5)}`}
|
||||
key={m.name}
|
||||
>
|
||||
<Link href={`/market?name=${m.name}`} key={m.name}>
|
||||
<a
|
||||
className="cursor-pointer default-transition flex h-12 items-center justify-between text-th-fgd-2 hover:text-th-primary w-full"
|
||||
onClick={onClose}
|
||||
|
|
Loading…
Reference in New Issue