From 4847267d76758826722450bb5cbc4b0244950e5b Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 27 Dec 2022 12:11:20 +0100 Subject: [PATCH] fix e2e --- .../solidity-compiler/src/lib/contract-selection.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 ef1aa610f0..3c44c8f230 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx @@ -257,9 +257,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 - } +