reset input parameters

pull/1977/head
yann300 3 years ago
parent 42425b1dd1
commit 7e87a52690
  1. 1
      libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

@ -25,6 +25,7 @@ export function ContractGUI (props: ContractGUIProps) {
} else { } else {
setTitle(props.funcABI.type === 'receive' ? '(receive)' : '(fallback)') setTitle(props.funcABI.type === 'receive' ? '(receive)' : '(fallback)')
} }
setBasicInput('')
}, [props.title, props.funcABI]) }, [props.title, props.funcABI])
useEffect(() => { useEffect(() => {

Loading…
Cancel
Save