Skip to content

Commit

Permalink
fix: slpxStakeSideSheet, do not display error when submitting extrinsic
Browse files Browse the repository at this point in the history
  • Loading branch information
UrbanWill committed Oct 11, 2024
1 parent 74c2196 commit b31c494
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const AddStakeForm = (props: AddStakeFormProps) => (
leadingLabel="Available to stake"
trailingLabel={props.availableToStake}
leadingSupportingText={props.fiatAmount}
trailingSupportingText={props.inputSupportingText}
trailingSupportingText={props.confirmState !== 'pending' && props.inputSupportingText}
trailingIcon={<TextInput.LabelButton onClick={props.onRequestMaxAmount}>Max</TextInput.LabelButton>}
value={props.amount}
onChange={event => props.onChangeAmount(event.target.value)}
Expand Down

0 comments on commit b31c494

Please sign in to comment.