Commit 9f5764aa authored by Noah Zinsmeister's avatar Noah Zinsmeister

fix last commit

parent f6dea479
...@@ -13,12 +13,7 @@ export enum SupportedChainId { ...@@ -13,12 +13,7 @@ export enum SupportedChainId {
OPTIMISTIC_KOVAN = 69, OPTIMISTIC_KOVAN = 69,
} }
export const L2_CHAIN_IDS = [ export const L2_CHAIN_IDS = [SupportedChainId.ARBITRUM_ONE, SupportedChainId.OPTIMISM]
SupportedChainId.ARBITRUM_ONE,
SupportedChainId.ARBITRUM_RINKEBY,
SupportedChainId.OPTIMISM,
SupportedChainId.OPTIMISTIC_KOVAN,
]
export const L2_INFO: Record<number, { bridge: string; docs: string; explorer: string; logoUrl: string }> = { export const L2_INFO: Record<number, { bridge: string; docs: string; explorer: string; logoUrl: string }> = {
[SupportedChainId.OPTIMISM]: { [SupportedChainId.OPTIMISM]: {
......
...@@ -87,7 +87,7 @@ const Routes = () => { ...@@ -87,7 +87,7 @@ const Routes = () => {
<Route exact strict path="/swap/:outputCurrency" component={RedirectToSwap} /> <Route exact strict path="/swap/:outputCurrency" component={RedirectToSwap} />
<Route exact strict path="/swap" component={Swap} /> <Route exact strict path="/swap" component={Swap} />
{!ON_L2 && <Route strict path="/pool/v2" component={PoolV2} />} {!ON_L2 && <Route exact strict path="/pool/v2" component={PoolV2} />}
{!ON_L2 && <Route exact strict path="/pool/v2/find" component={PoolFinder} />} {!ON_L2 && <Route exact strict path="/pool/v2/find" component={PoolFinder} />}
<Route exact strict path="/pool" component={Pool} /> <Route exact strict path="/pool" component={Pool} />
<Route exact strict path="/pool/:tokenId" component={PositionPage} /> <Route exact strict path="/pool/:tokenId" component={PositionPage} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment