Skip to content

Commit

Permalink
Update client.ts (Uniswap#278)
Browse files Browse the repository at this point in the history
* Update client.ts

* Update PoolPage.tsx
  • Loading branch information
ianlapham authored Dec 20, 2022
1 parent 6e76d78 commit 1ada8c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/apollo/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const client = new ApolloClient({
})

export const arbitrumClient = new ApolloClient({
uri: 'https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-dev',
uri: 'https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-arbitrum-one',
cache: new InMemoryCache({
typePolicies: {
Token: {
Expand Down
18 changes: 8 additions & 10 deletions src/pages/Pool/PoolPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import DensityChart from 'components/DensityChart'
import { MonoSpace } from 'components/shared'
import { useActiveNetworkVersion } from 'state/application/hooks'
import { networkPrefix } from 'utils/networkPrefix'
import { ArbitrumNetworkInfo, EthereumNetworkInfo } from 'constants/networks'
import { EthereumNetworkInfo } from 'constants/networks'
import { GenericImageWrapper } from 'components/Logo'

const ContentLayout = styled.div`
Expand Down Expand Up @@ -296,15 +296,13 @@ export default function PoolPage({
>
Volume
</ToggleElementFree>
{activeNetwork === ArbitrumNetworkInfo ? null : (
<ToggleElementFree
isActive={view === ChartView.DENSITY}
fontSize="12px"
onClick={() => (view === ChartView.DENSITY ? setView(ChartView.VOL) : setView(ChartView.DENSITY))}
>
Liquidity
</ToggleElementFree>
)}
<ToggleElementFree
isActive={view === ChartView.DENSITY}
fontSize="12px"
onClick={() => (view === ChartView.DENSITY ? setView(ChartView.VOL) : setView(ChartView.DENSITY))}
>
Liquidity
</ToggleElementFree>
<ToggleElementFree
isActive={view === ChartView.FEES}
fontSize="12px"
Expand Down

0 comments on commit 1ada8c8

Please sign in to comment.