Skip to content

Commit ee1a9a6

Browse files
authored
remove if and allow to fork own sandbox
1 parent 76ebc7c commit ee1a9a6

File tree

1 file changed

+1
-8
lines changed
  • packages/app/src/app/overmind/namespaces/editor

1 file changed

+1
-8
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -438,14 +438,7 @@ export const forkSandboxClicked: AsyncAction = async ({
438438
if (!state.editor.currentSandbox) {
439439
return;
440440
}
441-
442-
if (
443-
state.editor.currentSandbox.owned &&
444-
!state.editor.currentSandbox.customTemplate
445-
) {
446-
return;
447-
}
448-
441+
449442
await actions.editor.internal.forkSandbox({
450443
sandboxId: state.editor.currentSandbox.id,
451444
});

0 commit comments

Comments
 (0)