From bce28b644757020e0cf3926670ded4addd1b6200 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 27 Dec 2022 10:12:23 +0100 Subject: [PATCH] simplify condition to show flatten button --- .../solidity-compiler/src/lib/contract-selection.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 6c8ecbdda3..ef1aa610f0 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx @@ -257,7 +257,9 @@ export const ContractSelection = (props: ContractSelectionProps) => {
- {showFlattener && x.nodeType === 'ImportDirective') ? { - + : null }