We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useMinStakeAmount
1 parent 457b1cf commit d0d368fCopy full SHA for d0d368f
src/hooks/useMinStakeAmount.ts
@@ -18,7 +18,7 @@ export const useMinStakeAmount = () => {
18
console.error("Could not fetch the min stake amount: ", error)
19
}
20
21
- if (minStakeAmount === "0") fetchMinStakeAmount()
+ if (minStakeAmount === "0" && tStakingContract) fetchMinStakeAmount()
22
}, [tStakingContract, dispatch, minStakeAmount])
23
24
return minStakeAmount
0 commit comments