Don't gray out on "Support/tip unlock" or "Abandon Claim" failures.
#4379
This commit is contained in:
parent
22f272d53e
commit
c197a1f230
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class TxoListItem extends React.PureComponent<Props, State> {
|
|||
if (tip && type === TXO.SUPPORT) {
|
||||
return (
|
||||
<Button
|
||||
disabled={abandonState === ABANDON_STATES.DONE || abandonState === ABANDON_STATES.ERROR}
|
||||
disabled={abandonState === ABANDON_STATES.DONE}
|
||||
button="secondary"
|
||||
icon={ICONS.UNLOCK}
|
||||
onClick={this.abandonClaim}
|
||||
|
@ -49,7 +49,7 @@ class TxoListItem extends React.PureComponent<Props, State> {
|
|||
const abandonTitle = type === TXO.SUPPORT ? 'Abandon Support' : 'Abandon Claim';
|
||||
return (
|
||||
<Button
|
||||
disabled={abandonState === ABANDON_STATES.DONE || abandonState === ABANDON_STATES.ERROR}
|
||||
disabled={abandonState === ABANDON_STATES.DONE}
|
||||
button="secondary"
|
||||
icon={ICONS.DELETE}
|
||||
onClick={this.abandonClaim}
|
||||
|
|
Loading…
Add table
Reference in a new issue