From 37819f0974d17d8267e3ae6d89e517dbcb3b59c5 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 2 Jan 2024 13:44:19 +0100 Subject: [PATCH] linting --- apps/remixdesktop/src/plugins/compilerLoader.ts | 4 ++-- libs/remix-ui/workspace/src/lib/components/flat-tree.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/remixdesktop/src/plugins/compilerLoader.ts b/apps/remixdesktop/src/plugins/compilerLoader.ts index 32fdcce1b8..e44653135c 100644 --- a/apps/remixdesktop/src/plugins/compilerLoader.ts +++ b/apps/remixdesktop/src/plugins/compilerLoader.ts @@ -129,14 +129,14 @@ class CompilerLoaderPluginClient extends ElectronBasePluginClient { async getJsonBinData() { const lists = await this.getLists() - console.log('getJsonBinData', Date.now()) + this.solJsonBinData = { baseURLWasm: 'http://localhost:' + (server.address() as any).port + '/compilers', baseURLBin: 'http://localhost:' + (server.address() as any).port + '/compilers', wasmList: lists.wasmData || [], binList: lists.binData || [], } - console.log('emit', Date.now()) + const localCompilers = await this.listCompilers() this.solJsonBinData.wasmList && (this.solJsonBinData.wasmList = this.solJsonBinData.wasmList.map((item) => { localCompilers.includes(item.path) ? (item.wasmURL = 'http://localhost:' + (server.address() as any).port + '/compilers/') && (item.isDownloaded=true) : (item.wasmURL = baseURLWasm) && (item.isDownloaded = false) diff --git a/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx b/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx index 5e9cb3c018..08fffd7add 100644 --- a/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx +++ b/libs/remix-ui/workspace/src/lib/components/flat-tree.tsx @@ -243,7 +243,7 @@ export const FlatTree = (props: FlatTreeProps) => { {file.name} - {getFileStateIcons(file)} + {getFileStateIcons(file)} }