diff --git a/apps/remix-ide/src/app/files/fileManager.js b/apps/remix-ide/src/app/files/fileManager.js index 932828538d..f2f9760150 100644 --- a/apps/remix-ide/src/app/files/fileManager.js +++ b/apps/remix-ide/src/app/files/fileManager.js @@ -612,8 +612,7 @@ class FileManager extends Plugin { } currentWorkspace () { - const file = this.currentFile() || '' - const provider = this.fileProviderOf(file) + const provider = self._deps.filesProviders.workspace return provider.workspace }