Remove duplicate tab

pull/2195/head
David Disu 3 years ago committed by yann300
parent 5f2bc31d2c
commit 72c16efa06
  1. 9
      apps/remix-ide/src/app/panels/tab-proxy.js

@ -190,15 +190,6 @@ export class TabProxy extends Plugin {
} }
renameTab (oldName, newName) { 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) this.removeTab(oldName)
} }

Loading…
Cancel
Save