Skip to content

Commit d277b5d

Browse files
committed
persist default charms (as all charms in the charms list are expected to be persisted and reloading will thus fail)
1 parent 1ce1f34 commit d277b5d

File tree

1 file changed

+4
-1
lines changed
  • typescript/packages/lookslike-high-level/src

1 file changed

+4
-1
lines changed

typescript/packages/lookslike-high-level/src/data.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ export async function saveRecipe(
205205
import smolIframe from "./recipes/smolIframe.js";
206206
import complexIframe from "./recipes/complexIframe.js";
207207

208-
addCharms([run(smolIframe, { count: 1 }), run(complexIframe, { count: 42 })]);
208+
addCharms([
209+
await runPersistent(smolIframe, { count: 1 }, "smol iframe"),
210+
await runPersistent(complexIframe, { count: 42 }, "complex iframe"),
211+
]);
209212

210213
export type RecipeManifest = {
211214
name: string;

0 commit comments

Comments
 (0)