Skip to content

Commit 0ff0eb4

Browse files
committed
🎨 core: clean up
1 parent a96691e commit 0ff0eb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/actions/create-actions.ts

+2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ export function createActions<T extends Actions>(initializer: ActionInitializer<
1313
}
1414

1515
let actions = worldCache.get(initializer);
16+
1617
if (!actions) {
1718
actions = initializer(world);
1819
worldCache.set(initializer, actions);
1920
}
21+
2022
return actions as T;
2123
};
2224
}

0 commit comments

Comments
 (0)