Skip to content

Commit a46faca

Browse files
yeion7CompuIves
authored andcommitted
get modules by path (codesandbox#2913)
1 parent a7b3784 commit a46faca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/onInitialize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const onInitialize: OnInitialize = (
99
effects.fsSync.initialize({
1010
onModulesByPathChange(cb: (modulesByPath: any) => void) {
1111
overmindInstance.reaction(
12-
({ editor }) => editor.modulePaths,
12+
({ editor }) => editor.modulesByPath,
1313
modulesByPath => cb(modulesByPath)
1414
);
1515
},

0 commit comments

Comments
 (0)