From 1bc56342b77166b4e07ac488d717e8b496d7ef68 Mon Sep 17 00:00:00 2001 From: Fionna <13184582+fionnachan@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:51:19 +0100 Subject: [PATCH] use the other networks file --- .../arb-token-bridge-ui/src/hooks/useNetworks.ts | 3 ++- packages/arb-token-bridge-ui/src/pages/_app.tsx | 6 +++--- .../src/util/chainQueryParamUtils.ts | 4 +--- .../src/util/wagmi/getWagmiChain.ts | 3 ++- .../arb-token-bridge-ui/src/util/wagmi/setup.ts | 13 +++++++------ 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/packages/arb-token-bridge-ui/src/hooks/useNetworks.ts b/packages/arb-token-bridge-ui/src/hooks/useNetworks.ts index 64a394d3fb..fb2338b914 100644 --- a/packages/arb-token-bridge-ui/src/hooks/useNetworks.ts +++ b/packages/arb-token-bridge-ui/src/hooks/useNetworks.ts @@ -13,7 +13,8 @@ import { localL1Network as local, localL2Network as arbitrumLocal, localL3Network as l3Local -} from '../util/wagmi/wagmiAdditionalNetworks' + // } from '../util/wagmi/wagmiAdditionalNetworks' +} from '../util/wagmiNetworks' import { getDestinationChainIds } from '../util/networks' import { getWagmiChain } from '../util/wagmi/getWagmiChain' diff --git a/packages/arb-token-bridge-ui/src/pages/_app.tsx b/packages/arb-token-bridge-ui/src/pages/_app.tsx index 5fc59e2966..763c55269b 100644 --- a/packages/arb-token-bridge-ui/src/pages/_app.tsx +++ b/packages/arb-token-bridge-ui/src/pages/_app.tsx @@ -23,8 +23,6 @@ import { ChainKeyQueryParam } from '../types/ChainQueryParam' import { isUserRejectedError } from '../util/isUserRejectedError' import { getChainForChainKeyQueryParam } from '../util/chainQueryParamUtils' -const siteTitle = 'Bridge to Arbitrum' - if ( process.env.NODE_ENV !== 'production' || process.env.NEXT_PUBLIC_IS_E2E_TEST @@ -91,6 +89,8 @@ type ChainBlob = { slug: string } +const siteTitle = 'Bridge to Arbitrum' + function DynamicMetaData({ sourceChain, destinationChain @@ -103,7 +103,6 @@ function DynamicMetaData({ return ( <> - {siteTitle} {/* */} @@ -158,6 +157,7 @@ export default function App({ Component, pageProps, router }: AppProps) { return ( <> + {siteTitle}