Reset form after submitting for verification

pull/5285/head
Manuel Wedler 2 months ago committed by Aniket
parent d4f7b2a128
commit d0d4f4e4b9
  1. 4
      apps/contract-verification/src/app/views/VerifyView.tsx

@ -113,7 +113,11 @@ export const VerifyView = () => {
setSubmittedContracts((prev) => ({ ...prev, [newSubmittedContract.id]: newSubmittedContract }))
// Reset form
setContractAddress('')
setAbiEncodedConstructorArgs('')
setSelectedContract(undefined)
setProxyAddress('')
// Take user to receipt view
navigate('/receipts')

Loading…
Cancel
Save