diff --git a/apps/remix-ide/src/app/panels/tab-proxy.js b/apps/remix-ide/src/app/panels/tab-proxy.js index c3a897b7d6..bc8a7c4c8f 100644 --- a/apps/remix-ide/src/app/panels/tab-proxy.js +++ b/apps/remix-ide/src/app/panels/tab-proxy.js @@ -190,15 +190,6 @@ export class TabProxy extends Plugin { } renameTab (oldName, newName) { - this.addTab(newName, '', async () => { - await this.fileManager.open(newName) - this.event.emit('openFile', newName) - }, - async () => { - await this.fileManager.closeFile(newName) - this.event.emit('closeFile', newName) - this.emit('closeFile', newName) - }) this.removeTab(oldName) }