Skip to content

Commit 0bf1aaa

Browse files
authored
fix: use SEND decimals (#1580)
* Update .gitignore and flake.lock for improved environment management and updated dependencies * fix: use SEND decimals
1 parent c1678e5 commit 0bf1aaa

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)