Skip to content

Commit 221d895

Browse files
christianalfoniCompuIves
authored andcommitted
move update userselection (codesandbox#3103)
1 parent 90e666a commit 221d895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/src/app/overmind/effects/vscode/ModelsHandler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ export class ModelsHandler {
111111
const file = await this.editorApi.openFile(module.path);
112112
const model = file.getModel();
113113

114-
this.updateUserSelections(module, moduleModel.selections);
115-
116114
moduleModel.model = Promise.resolve(model);
115+
116+
this.updateUserSelections(module, moduleModel.selections);
117117
} else {
118118
const model = getCurrentModel(this.editorApi);
119119

0 commit comments

Comments
 (0)