File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/app/src/app/overmind/namespaces/live Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ export const initializeModuleState: Action<any> = (
9696) => {
9797 Object . keys ( moduleState ) . forEach ( moduleShortid => {
9898 const moduleInfo = moduleState [ moduleShortid ] ;
99- effects . live . createClient ( moduleShortid , moduleInfo . revision || 0 ) ;
10099
101100 // Module has not been saved, so is different
102101 const module = state . editor . currentSandbox . modules . find (
@@ -107,6 +106,7 @@ export const initializeModuleState: Action<any> = (
107106 if ( moduleInfo . code === null || ! ( 'code' in moduleInfo ) ) {
108107 return ;
109108 }
109+ effects . live . createClient ( moduleShortid , moduleInfo . revision || 0 ) ;
110110
111111 const savedCodeChanged =
112112 getSavedCode ( moduleInfo . code , moduleInfo . saved_code ) !==
You can’t perform that action at this time.
0 commit comments