From e1c46185607bd3fa7381798ca68b4b200fdb27e5 Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 11 Jul 2023 22:55:41 +0200 Subject: [PATCH] e2e --- libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx b/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx index bb29efd7cd..eedc90ce7c 100644 --- a/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx @@ -175,7 +175,6 @@ export function ContractGUI (props: ContractGUIProps) { const handleActionClick = async () => { if (deployState.deploy) { const proxyInitializeString = getMultiValsString(initializeFields.current) - props.clickCallBack(props.initializerOptions.inputs.inputs, proxyInitializeString, ['Deploy with Proxy']) } else if (deployState.upgrade) { if (proxyAddress === '') { @@ -197,8 +196,8 @@ export function ContractGUI (props: ContractGUIProps) { !proxyAddressError && props.clickCallBack(props.funcABI.inputs, proxyAddress, ['Upgrade with Proxy']) }, 'Cancel', () => {}, 'btn-warning', 'btn-secondary') } - } - } else { + } + } else { setProxyAddressError('not a valid contract address') } } @@ -410,6 +409,7 @@ export function ContractGUI (props: ContractGUIProps) { onClick={handleExpandMultiClick} >