rm consoles

pull/2987/head
filip mertens 2 years ago
parent 7e9fa5b936
commit 5c482da3b0
  1. 4
      libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

@ -217,11 +217,7 @@ export function ContractDropdownUI(props: ContractDropdownProps) {
} }
const updateCompilerName = () => { const updateCompilerName = () => {
console.log('updateCompilerName', contractsRef.current.value)
if (contractsRef.current.value) { if (contractsRef.current.value) {
console.log(contractsRef.current.value)
const compilerNames = [...new Set([...contractList[currentFile].map(contract => contract.compilerName)])]
console.log(compilerNames)
contractList[currentFile].forEach(contract => { contractList[currentFile].forEach(contract => {
if (contract.alias === contractsRef.current.value) { if (contract.alias === contractsRef.current.value) {
setCompilerName(contract.compilerName) setCompilerName(contract.compilerName)

Loading…
Cancel
Save