Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthiery committed Jul 21, 2023
1 parent 2eafa38 commit 34312be
Show file tree
Hide file tree
Showing 14 changed files with 170 additions and 115 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@
"@coral-xyz/anchor": "^0.27.0",
"@headlessui/react": "1.7.13",
"@headlessui/tailwindcss": "0.1.2",
"@helium/account-fetch-cache": "^0.2.5",
"@helium/address": "^4.8.1",
"@helium/helium-react-hooks": "^0.0.51",
"@helium/helium-sub-daos-sdk": "^0.0.51",
"@helium/idls": "^0.0.51",
"@helium/spl-utils": "^0.0.51",
"@helium/treasury-management-sdk": "^0.0.51",
"@helium/helium-react-hooks": "^0.2.11",
"@helium/helium-sub-daos-sdk": "^0.2.5",
"@helium/idls": "^0.2.5",
"@helium/spl-utils": "^0.2.13",
"@helium/treasury-management-sdk": "^0.2.5",
"@helium/voter-stake-registry-sdk": "^0.1.4",
"@heroicons/react": "2.0.17",
"@metaplex-foundation/mpl-token-metadata": "^2.9.1",
"@solana/spl-account-compression": "^0.1.7",
"@solana/spl-account-compression": "0.1.7",
"@solana/spl-token": "^0.3.7",
"@solana/web3.js": "^1.75.0",
"@tailwindcss/forms": "0.5.3",
Expand Down
167 changes: 118 additions & 49 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/app/stats/components/HntInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const HntInfo = async () => {
getRemainingEmissions(new Date(), "hnt")
)
const maxSupply =
hntMint.info?.info.supply +
hntMint.info?.info.supply! +
BigInt(remainingHntEmissions) * BigInt(100000000) +
BigInt(
Math.ceil(
Expand Down Expand Up @@ -101,8 +101,8 @@ export const HntInfo = async () => {
<StatItem
label="Supply"
value={humanReadableBigint(
hntMint.info?.info.supply,
hntMint?.info?.info || 8,
hntMint.info?.info.supply!,
hntMint?.info?.info.decimals || 8,
0
)}
tooltip={{
Expand All @@ -115,7 +115,7 @@ export const HntInfo = async () => {
label="Max Supply"
value={`~${humanReadableBigint(
maxSupply,
hntMint?.info?.info || 8,
hntMint?.info?.info.decimals || 8,
0
)}`}
tooltip={{
Expand Down
Loading

0 comments on commit 34312be

Please sign in to comment.