Skip to content

Commit

Permalink
feat: disable ICP support for prod and for now (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker authored Dec 21, 2023
1 parent c2d3fcd commit 9243fa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/src/lib/constants/networks.constants.ts
Original file line number Diff line number Diff line change
@@ -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';

/**
Expand Down Expand Up @@ -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])];

0 comments on commit 9243fa3

Please sign in to comment.