diff --git a/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx b/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx index edb6227d71..402cb3c414 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx @@ -254,9 +254,7 @@ export const ContractSelection = (props: ContractSelectionProps) => {
- {api.getCompilationResult().data.sources[api.currentFile] - .ast && api.getCompilationResult().data.sources[api.currentFile] - .ast.nodes.some(x => x.nodeType === 'ImportDirective') ? { - : null - } +