You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #118 from threshold-network/min-stake-validation
Minimum Stake validation
This PR adds validation to the staking form. To stake in T network the minimum
stake amount is required. Currently it is 40,000 T.
Main changes:
- set the placeholder for input in staking form- Minimum stake <amount> T,
- create a hook that returns the min stake amount- it fetches the min stake
amount if needed and saves in a redux store. If a value already exists in redux
store a hook will return a value from redux store, otherwise fetches the value
from chain,
- update the TokenAmountForm - allow to set the placeholder for an input and set
the required minimum amount to submit a form.
0 commit comments