fix mobile market links

This commit is contained in:
Tyler Shipe 2021-11-15 23:39:43 +00:00
parent e25d62eaa5
commit 8558e4bb45
1 changed files with 1 additions and 6 deletions

View File

@ -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}