Skip to content

Commit 8420108

Browse files
committed
Remove unnecessary live check
1 parent a21909d commit 8420108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/namespaces/live/internalActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const initializeModuleState: Action<any> = (
103103
);
104104

105105
if (module) {
106-
if (moduleInfo.code === null || !('code' in moduleInfo)) {
106+
if (!('code' in moduleInfo)) {
107107
return;
108108
}
109109
effects.live.createClient(moduleShortid, moduleInfo.revision || 0);

0 commit comments

Comments
 (0)