space added

pull/5370/head
Aniket-Engg 3 years ago
parent 3dcdfa13d5
commit c412b57fdf
  1. 2
      apps/remix-ide/src/app/panels/tab-proxy.js

@ -153,7 +153,7 @@ export class TabProxy extends Plugin {
displayName, displayName,
() => this.emit('switchApp', name), () => this.emit('switchApp', name),
() => { () => {
if(name === 'home' && this.loadedTabs.length === 1 && this.loadedTabs[0].id === "home") { if (name === 'home' && this.loadedTabs.length === 1 && this.loadedTabs[0].id === "home") {
const files = Object.keys(this.editor.sessions) const files = Object.keys(this.editor.sessions)
files.forEach(filepath => this.editor.discard(filepath)) files.forEach(filepath => this.editor.discard(filepath))
} }

Loading…
Cancel
Save