Skip to content

Commit

Permalink
EVM user address updated
Browse files Browse the repository at this point in the history
  • Loading branch information
RAMTO committed Jan 23, 2024
1 parent e349b1d commit fe21f49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/ClaimdropDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
getHTSTokenInfo,
getProvider,
getUserAssociatedTokens,
idToAddress,
requestUserAddressFromId,
} from '../utils/tokenUtils';
// import { getDaysFromDurationMilliseconds, timestampToDate } from '../utils/timeUtils';
import {
Expand Down Expand Up @@ -154,7 +154,7 @@ const ClaimdropDetails = () => {
// let totalAllocatedOfBN = ethers.BigNumber.from(0);

// if (userId) {
// const userAddress = idToAddress(userId);
// const userAddress = await requestUserAddressFromId(userId);

// const userPromisesArray = [
// claimDropContract.claimedOf(userAddress),
Expand Down Expand Up @@ -304,7 +304,7 @@ const ClaimdropDetails = () => {
let totalAllocatedOfBN = ethers.BigNumber.from(0);

if (userId) {
const userAddress = idToAddress(userId);
const userAddress = await requestUserAddressFromId(userId);

const userPromisesArray = [
claimDropContract.claimedOf(userAddress),
Expand Down

0 comments on commit fe21f49

Please sign in to comment.