Skip to content

Commit e1c4618

Browse files
LianaHusAniket-Engg
authored andcommitted
e2e
1 parent e804059 commit e1c4618

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ export function ContractGUI (props: ContractGUIProps) {
175175
const handleActionClick = async () => {
176176
if (deployState.deploy) {
177177
const proxyInitializeString = getMultiValsString(initializeFields.current)
178-
179178
props.clickCallBack(props.initializerOptions.inputs.inputs, proxyInitializeString, ['Deploy with Proxy'])
180179
} else if (deployState.upgrade) {
181180
if (proxyAddress === '') {
@@ -197,8 +196,8 @@ export function ContractGUI (props: ContractGUIProps) {
197196
!proxyAddressError && props.clickCallBack(props.funcABI.inputs, proxyAddress, ['Upgrade with Proxy'])
198197
}, 'Cancel', () => {}, 'btn-warning', 'btn-secondary')
199198
}
200-
}
201-
} else {
199+
}
200+
} else {
202201
setProxyAddressError('not a valid contract address')
203202
}
204203
}
@@ -410,6 +409,7 @@ export function ContractGUI (props: ContractGUIProps) {
410409
onClick={handleExpandMultiClick}
411410
>
412411
<button
412+
type="button"
413413
data-id={buttonOptions.dataId}
414414
className={`udapp_instanceButton ${buttonOptions.classList}`}
415415
disabled={props.disabled || (props.inputs !=='' && basicInput === '')}

0 commit comments

Comments
 (0)