Skip to content

Commit 3489127

Browse files
committed
Fix forking of team sandboxes
1 parent 0208bd6 commit 3489127

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/app/src/app/pages/Sandbox/index.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,15 @@ export const Sandbox: React.FC<Props> = ({ match }) => {
4040
}
4141
}
4242

43+
actions.live.onNavigateAway();
4344
actions.editor.sandboxChanged({ id: match.params.id });
44-
}, [actions.editor, actions.preferences, match.params, match.params.id]);
45+
}, [
46+
actions.live,
47+
actions.editor,
48+
actions.preferences,
49+
match.params,
50+
match.params.id,
51+
]);
4552

4653
useEffect(
4754
() => () => {

0 commit comments

Comments
 (0)