Skip to content

Commit

Permalink
fix: cache plans
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Apr 29, 2023
1 parent a387430 commit 96f158a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/space/space.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export async function loadSpace(
if (plans !== undefined) {
return plans;
} else {
return loadPlan(space.plans);
return (plans = await loadPlan(space.plans));
}
},
plugins: importPlugin
Expand Down

0 comments on commit 96f158a

Please sign in to comment.