Skip to content

Commit 20e16c8

Browse files
fix forking
1 parent 20b9a69 commit 20e16c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/app/src/app/overmind/namespaces/editor/internalActions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ export const forkSandbox: AsyncAction<{
304304
}
305305

306306
await actions.internal.setCurrentSandbox(forkedSandbox);
307+
state.editor.modulesByPath = effects.vscode.fs.create(forkedSandbox);
307308
effects.notificationToast.success('Forked sandbox!');
308309
effects.router.updateSandboxUrl(forkedSandbox);
309310
} catch (error) {

0 commit comments

Comments
 (0)