Skip to content

Commit

Permalink
chore: open rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
tche authored and tche committed Jan 19, 2025
1 parent 5b2e9a4 commit 981c443
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/components/ProfilePage/MerklRewards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ export function MerklRewards() {
[account, isRewardLoading, isRewardSuccess, availableRewards],
);

console.log('rewards');
console.log(availableRewards);

return (
<RewardsCarousel
hideComponent={hideComponent}
Expand Down
6 changes: 3 additions & 3 deletions src/const/partnerRewardsTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ export const REWARDS_LIST = [
tokenChainId: 1135,
claimingAddress: '0x3Ef3D8bA38EBe18DB133cEc108f4D14CE00Dd9Ae',
tokenAddress: '0xac485391EB2d7D88253a7F1eF18C37f4242D1A24',
decimalsToShow: 3,
decimalsToShow: 2,
explorerLink: 'https://blockscout.lisk.com/',
lightTokenLogo: `${process.env.NEXT_PUBLIC_STRAPI_URL}/uploads/liskttoken_386a617ff7.png`,
darkTokenLogo: `${process.env.NEXT_PUBLIC_STRAPI_URL}/uploads/liskttoken_386a617ff7.png`,
lightChainLogo: `${process.env.NEXT_PUBLIC_STRAPI_URL}/uploads/lisk_chain_a996787b58.png`,
darkChainLogo: `${process.env.NEXT_PUBLIC_STRAPI_URL}/uploads/lisk_chain_a996787b58.png`,
lightChainLogo: `${process.env.NEXT_PUBLIC_STRAPI_URL}/uploads/lisk_chain_de4347a5f9.png`,
darkChainLogo: `${process.env.NEXT_PUBLIC_STRAPI_URL}/uploads/lisk_chain_de4347a5f9.png`,
},
];

Expand Down
5 changes: 1 addition & 4 deletions src/hooks/useMerklRewardsOnCampaigns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,9 @@ export const useMerklRewardsOnCampaigns = ({
return result;
},
enabled: !!userAddress,
refetchInterval: 1 * 60 * 60,
refetchInterval: 1000 * 60 * 60,
});

console.log('in hooks');
console.log(rewardsData);

// transform to know what is not coming from Jumper campaigns

if (rewardsData) {
Expand Down

0 comments on commit 981c443

Please sign in to comment.