Skip to content

Commit ab6a9b8

Browse files
committed
Fix #1818: explorer keep previous error until refresh in cardano tx certification modal
This was simply due to the error not being set to its default state when opening the modal.
1 parent 2718ff2 commit ab6a9b8

File tree

1 file changed

+1
-0
lines changed
  • mithril-explorer/src/components/CertifyCardanoTransactionsModal

1 file changed

+1
-0
lines changed

mithril-explorer/src/components/CertifyCardanoTransactionsModal/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default function CertifyCardanoTransactionsModal({
4545
setIsCertificateChainValid(true);
4646
setCertificate(undefined);
4747
setCurrentStep(validationSteps.ready);
48+
setCurrentError(undefined);
4849

4950
if (transactionHashes?.length > 0) {
5051
fetchGenesisVerificationKey(currentAggregator)

0 commit comments

Comments
 (0)