diff --git a/apps/contract-verification/src/app/components/ContractDropdown.tsx b/apps/contract-verification/src/app/components/ContractDropdown.tsx index 657c1ddacf..99a1363cf1 100644 --- a/apps/contract-verification/src/app/components/ContractDropdown.tsx +++ b/apps/contract-verification/src/app/components/ContractDropdown.tsx @@ -43,29 +43,24 @@ export const ContractDropdown: React.FC = ({ label, id, s return (
- {hasContracts ? ( Object.keys(compilationOutput).map((compilationTriggerFileName) => ( - - {Object.keys(compilationOutput[compilationTriggerFileName].data.contracts).map((fileName) => ( - - - {Object.keys(compilationOutput[compilationTriggerFileName].data.contracts[fileName]).map((contractName) => { - const value = JSON.stringify({ triggerFilePath: compilationTriggerFileName, filePath: fileName, contractName: contractName }) - return ( - - ) - })} - - ))} + + {Object.keys(compilationOutput[compilationTriggerFileName].data.contracts).map((fileName) => { + return Object.keys(compilationOutput[compilationTriggerFileName].data.contracts[fileName]).map((contractName) => { + const value = JSON.stringify({ triggerFilePath: compilationTriggerFileName, filePath: fileName, contractName: contractName }) + return ( + + ) + }) + })} )) ) : ( - + )}