Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Sep 29, 2023
1 parent 5729194 commit fbc30af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/components/crowdloan-user/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down
2 changes: 1 addition & 1 deletion src/components/crowdloan-user/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}),
Expand Down

0 comments on commit fbc30af

Please sign in to comment.