From fbc30af0d1c7edaec133ee386210419e9a96012d Mon Sep 17 00:00:00 2001 From: Onno Visser Date: Fri, 29 Sep 2023 17:56:23 +0200 Subject: [PATCH] fixes --- src/components/crowdloan-user/User.tsx | 2 -- src/components/crowdloan-user/index.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/crowdloan-user/User.tsx b/src/components/crowdloan-user/User.tsx index 24c2987e..1968b784 100644 --- a/src/components/crowdloan-user/User.tsx +++ b/src/components/crowdloan-user/User.tsx @@ -23,8 +23,6 @@ export function User() { const totalRewards = useTotalRewards({ address: selectedAccount?.address, parachain: centrifuge.config.network }) const currency = centrifuge.config.network === 'altair' ? 'AIR' : 'CFG' - console.log('didClaim', didClaim) - const { execute, isLoading } = useCentrifugeTransaction( 'Claiming rewards', (cent) => diff --git a/src/components/crowdloan-user/index.tsx b/src/components/crowdloan-user/index.tsx index 5961fc54..764fd15c 100644 --- a/src/components/crowdloan-user/index.tsx +++ b/src/components/crowdloan-user/index.tsx @@ -11,7 +11,7 @@ export default function CrowdloanUser({ network }: CrowdloanUserProps) { const centConfig: UserProvidedConfig = React.useMemo( () => ({ network, - ...(process.env.NODE_ENV === 'developments' && { + ...(process.env.NODE_ENV === 'development' && { centrifugeWsUrl: 'wss://fullnode.development.cntrfg.com', altairWsUrl: 'wss://fullnode.development.cntrfg.com', }),