diff --git a/src/frontend/src/lib/constants/networks.constants.ts b/src/frontend/src/lib/constants/networks.constants.ts index b0d1f0f973..3348ba880f 100644 --- a/src/frontend/src/lib/constants/networks.constants.ts +++ b/src/frontend/src/lib/constants/networks.constants.ts @@ -1,5 +1,6 @@ import eth from '$lib/assets/eth.svg'; import icpLight from '$lib/assets/icp_light.svg'; +import { PROD } from '$lib/constants/app.constants'; import type { Network } from '$lib/types/network'; /** @@ -28,4 +29,4 @@ export const ICP_NETWORK: Network = { icon: icpLight }; -export const NETWORKS: Network[] = [ETHEREUM_NETWORK, ICP_NETWORK]; +export const NETWORKS: Network[] = [ETHEREUM_NETWORK, ...(PROD ? [] : [ICP_NETWORK])];