fix: double confirmation on channel updates

Fixes https://github.com/lbryio/lbry-desktop/issues/3956
This commit is contained in:
Thomas Zarebczan 2020-04-06 13:37:54 -04:00 committed by Sean Yesmunt
parent 8a0a3c61a7
commit 1387c5be40
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
export const TIP = 'tip';
export const SUPPORT = 'support';
export const CHANNEL = 'channel';
export const UPDATE = 'update';

View file

@ -49,7 +49,7 @@ export default function ModalRevokeClaim(props: Props) {
</p>
</React.Fragment>
);
} else if (type === txnTypes.CHANNEL) {
} else if (type === txnTypes.CHANNEL || (type === txnTypes.UPDATE && name.startsWith('@'))) {
return (
<React.Fragment>
<p>