File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ import Percent from 'views/Info/components/Percent'
4949import { DISABLED_ADD_LIQUIDITY_CHAINS } from 'config/constants/liquidity'
5050import { logGTMClickAddLiquidityEvent } from 'utils/customGTMEventTracking'
5151import { ChainId } from '@pancakeswap/chains'
52+ import { PERSIST_CHAIN_KEY } from 'config/constants'
5253
5354const ContentLayout = styled . div `
5455 display: grid;
@@ -205,7 +206,7 @@ const PoolPage: React.FC<React.PropsWithChildren<{ address: string }>> = ({ addr
205206 </ Flex >
206207 < Flex >
207208 < NextLinkFromReactRouter
208- to = { `/add/${ poolData . token0 . address } /${ poolData . token1 . address } ?chain=${ CHAIN_QUERY_NAME [ chainId ] } ` }
209+ to = { `/add/${ poolData . token0 . address } /${ poolData . token1 . address } ?chain=${ CHAIN_QUERY_NAME [ chainId ] } & ${ PERSIST_CHAIN_KEY } =1 ` }
209210 >
210211 < Button
211212 mr = "8px"
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import { getTokenSymbolAlias } from 'utils/getTokenAlias'
3232import { CurrencyLogo , DoubleCurrencyLogo } from 'views/Info/components/CurrencyLogo'
3333import { DISABLED_ADD_LIQUIDITY_CHAINS } from 'config/constants/liquidity'
3434import { logGTMClickAddLiquidityEvent } from 'utils/customGTMEventTracking'
35+ import { PERSIST_CHAIN_KEY } from 'config/constants'
3536import BarChart from '../components/BarChart/alt'
3637import { GreyBadge } from '../components/Card'
3738import DensityChart from '../components/DensityChart'
@@ -233,7 +234,7 @@ const PoolPage: React.FC<{ address: string }> = ({ address }) => {
233234 < NextLinkFromReactRouter
234235 to = { `/add/${ poolData . token0 . address } /${ poolData . token1 . address } /${ poolData . feeTier } ?chain=${
235236 CHAIN_QUERY_NAME [ multiChainId [ chainName ] ]
236- } `}
237+ } & ${ PERSIST_CHAIN_KEY } =1 `}
237238 >
238239 < Button
239240 mr = "8px"
You can’t perform that action at this time.
0 commit comments