do not close menu on favorite click
This commit is contained in:
parent
9976698c67
commit
53a5b4e619
|
@ -133,9 +133,6 @@ const MarketSelectDropdown = () => {
|
|||
<div
|
||||
className={MARKET_LINK_WRAPPER_CLASSES}
|
||||
key={m.publicKey.toString()}
|
||||
onClick={() => {
|
||||
if (!isComingSoon) close()
|
||||
}}
|
||||
>
|
||||
{!isComingSoon ? (
|
||||
<>
|
||||
|
@ -145,6 +142,9 @@ const MarketSelectDropdown = () => {
|
|||
pathname: '/trade',
|
||||
query: { name: m.name },
|
||||
}}
|
||||
onClick={() => {
|
||||
close()
|
||||
}}
|
||||
shallow={true}
|
||||
>
|
||||
<div className="flex items-center">
|
||||
|
@ -239,9 +239,6 @@ const MarketSelectDropdown = () => {
|
|||
<div
|
||||
className={MARKET_LINK_WRAPPER_CLASSES}
|
||||
key={m.publicKey.toString()}
|
||||
onClick={() => {
|
||||
close()
|
||||
}}
|
||||
>
|
||||
<Link
|
||||
className={MARKET_LINK_CLASSES}
|
||||
|
@ -249,6 +246,9 @@ const MarketSelectDropdown = () => {
|
|||
pathname: '/trade',
|
||||
query: { name: m.name },
|
||||
}}
|
||||
onClick={() => {
|
||||
close()
|
||||
}}
|
||||
shallow={true}
|
||||
>
|
||||
<div className="flex items-center">
|
||||
|
|
Loading…
Reference in New Issue