From 88b5bc3e87c283f90eb94ad59b6f5dd44fe15309 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 12 Jun 2024 10:50:03 +0200 Subject: [PATCH] linting --- libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx | 2 +- libs/remixd/src/services/foundryClient.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx b/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx index 39bd642dcb..1fe52f04c3 100644 --- a/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx @@ -403,7 +403,7 @@ export function ContractDropdownUI(props: ContractDropdownProps) { } > - { + { props.syncContracts() _paq.push(['trackEvent', 'udapp', 'syncContracts', compilationSource ? compilationSource : 'compilationSourceNotYetSet']) }} className="udapp_syncFramework udapp_icon fa fa-refresh" aria-hidden="true"> diff --git a/libs/remixd/src/services/foundryClient.ts b/libs/remixd/src/services/foundryClient.ts index 1fcdacc7d9..a53ff6cdfc 100644 --- a/libs/remixd/src/services/foundryClient.ts +++ b/libs/remixd/src/services/foundryClient.ts @@ -171,6 +171,7 @@ export class FoundryClient extends PluginClient { const contractName = basename(path).replace('.json', '') let sourcePath = '' + console.log('feedContractArtifactFile', contentJSON) for (const key in contentJSON.metadata.settings.compilationTarget) { if (contentJSON.metadata.settings.compilationTarget[key] === contractName) { sourcePath = key