From 7f4bb04dbdfd57cc09fb2a4ea71c928b1705eeb4 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 11 Nov 2021 11:55:50 +0100 Subject: [PATCH] fix linting --- apps/remix-ide/src/app/panels/tab-proxy.js | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/remix-ide/src/app/panels/tab-proxy.js b/apps/remix-ide/src/app/panels/tab-proxy.js index 5d053ec3f3..f4cc6408c0 100644 --- a/apps/remix-ide/src/app/panels/tab-proxy.js +++ b/apps/remix-ide/src/app/panels/tab-proxy.js @@ -230,7 +230,6 @@ export class TabProxy extends Plugin { formatPath.shift() if (formatPath.length > 0) { const index = this.loadedTabs.findIndex(({ title }) => title === formatPath.join('/')) - if (index > -1) { const duplicateTabName = this.loadedTabs[index].name const duplicateTabPath = duplicateTabName.split('/')