Skip to content

Commit

Permalink
fix args
Browse files Browse the repository at this point in the history
  • Loading branch information
groninge01 committed Jan 27, 2025
1 parent 99d8d7f commit 5e3d464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type RelicProps = {

export function Relic({ chain, relic }: RelicProps) {
const { amount: pendingReward } = useGetPendingReward(chain, relic.relicId)
const { maturityThresholds } = useGetLevelInfo(chain, relic.relicId)
const { maturityThresholds } = useGetLevelInfo(chain, relic.poolId)

const { levelUpDate } = relicGetMaturityProgress(relic, maturityThresholds || [])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function useGetLevelInfo(chain: GqlChain, poolId: string | undefined) {
abi: reliquaryAbi,
address: config.contracts.beets?.reliquary,
functionName: 'getLevelInfo',
args: [BigInt(poolId || '0')],
args: [BigInt(poolId || 0)],
query: { enabled: isConnected && !shouldChangeNetwork && !!userAddress && !!poolId },
})

Expand Down

0 comments on commit 5e3d464

Please sign in to comment.