Skip to content

Commit ce43d96

Browse files
Change to run tour when Sandbox changes
1 parent f7ab0aa commit ce43d96

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ export const sandboxChanged: AsyncAction<{ id: string }> = withLoadApp<{
121121
}
122122

123123
state.editor.isLoading = false;
124+
125+
effects.chameleon.loadTour(state.user && state.user.id);
124126
});
125127

126128
export const contentMounted: Action = ({ state, effects }) => {
@@ -136,8 +138,6 @@ export const contentMounted: Action = ({ state, effects }) => {
136138

137139
return null;
138140
});
139-
140-
effects.chameleon.loadTour(state.user && state.user.id);
141141
};
142142

143143
export const resizingStarted: Action = ({ state }) => {

0 commit comments

Comments
 (0)