We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72087c commit 5ab7a64Copy full SHA for 5ab7a64
packages/app/src/app/overmind/namespaces/editor/actions.ts
@@ -132,7 +132,7 @@ export const sandboxChanged: AsyncAction<{ id: string }> = withLoadApp<{
132
133
export const contentMounted: Action = ({ state, effects }) => {
134
effects.browser.onUnload(event => {
135
- if (!state.editor.isAllModulesSynced) {
+ if (!state.editor.isAllModulesSynced && !state.editor.isForkingSandbox) {
136
const returnMessage =
137
'You have not saved all your modules, are you sure you want to close this tab?';
138
0 commit comments