Skip to content

Commit

Permalink
Merge pull request #215 from xch-dev/transfer-did-fix
Browse files Browse the repository at this point in the history
Fix DID transfer
  • Loading branch information
Rigidity authored Dec 30, 2024
2 parents e0789bf + 8972ea8 commit b4b7b62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/DidList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function Profile({ did, updateDids }: ProfileProps) {
address,
fee: toMojos(fee, walletState.sync.unit.decimals),
})
.then(updateDids)
.then(setResponse)
.catch(addError)
.finally(() => setTransferOpen(false));
};
Expand All @@ -161,7 +161,7 @@ function Profile({ did, updateDids }: ProfileProps) {
address: walletState.sync.burn_address,
fee: toMojos(fee, walletState.sync.unit.decimals),
})
.then(updateDids)
.then(setResponse)
.catch(addError)
.finally(() => setBurnOpen(false));
};
Expand Down

0 comments on commit b4b7b62

Please sign in to comment.