fix: double confirmation on channel updates
Fixes https://github.com/lbryio/lbry-desktop/issues/3956
This commit is contained in:
parent
8a0a3c61a7
commit
1387c5be40
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
export const TIP = 'tip';
|
export const TIP = 'tip';
|
||||||
export const SUPPORT = 'support';
|
export const SUPPORT = 'support';
|
||||||
export const CHANNEL = 'channel';
|
export const CHANNEL = 'channel';
|
||||||
|
export const UPDATE = 'update';
|
||||||
|
|
|
@ -49,7 +49,7 @@ export default function ModalRevokeClaim(props: Props) {
|
||||||
</p>
|
</p>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
} else if (type === txnTypes.CHANNEL) {
|
} else if (type === txnTypes.CHANNEL || (type === txnTypes.UPDATE && name.startsWith('@'))) {
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue