Skip to content

Commit b7070dd

Browse files
authored
Merge pull request #1581 from 0xsend/dev
fix: use SEND decimals (#1580)
2 parents e13a2df + 0bf1aaa commit b7070dd

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,5 @@ var/**
7171

7272
/memory-bank
7373

74-
7574
**/.claude/settings.local.json
76-
# direnv
77-
CACHEDIR.TAG
75+
.direnv

flake.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/features/home/RewardsCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const RewardsCard = ({ href, ...props }: Omit<CardProps & LinkProps, 'chi
2121
const shares = Number(
2222
formatUnits(
2323
BigInt(distribution?.distribution_shares?.[0]?.amount ?? 0n),
24-
coinsDict[sendTokenAddress[baseMainnetClient.chain.id]]?.formatDecimals ?? 18
24+
coinsDict[sendTokenAddress[baseMainnetClient.chain.id]]?.decimals ?? 18
2525
)
2626
)
2727
const sendPrice = prices?.[sendTokenAddress[baseMainnetClient.chain.id]] ?? 0

0 commit comments

Comments
 (0)