Skip to content

Commit c0ee928

Browse files
committed
Merge branch 'main' of github.com:commontoolsinc/labs
2 parents 6aa7423 + 0d84b2d commit c0ee928

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"editor.formatOnSave": true,
33
"editor.defaultFormatter": "denoland.vscode-deno",
4-
"deno.enable": true
4+
"deno.enable": true,
5+
"[typescript]": {
6+
"editor.defaultFormatter": "denoland.vscode-deno"
7+
}
58
}

typescript/README.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

typescript/packages/jumble/src/views/spellbook/SpellbookLaunchView.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function SpellbookLaunchView() {
5555

5656
// Run the recipe with the initial data
5757
const charm = await charmManager.runPersistent(recipe, initialData);
58-
const charmIdString = charm.entityId?.toJSON?.()["/"];
58+
const charmIdString = charm?.entityId?.["/"] as string;
5959
await charmManager.add([charm]);
6060

6161
if (charmIdString) {
@@ -82,9 +82,7 @@ export default function SpellbookLaunchView() {
8282
<div className="flex items-center justify-center h-screen">
8383
<div className="text-center">
8484
<h1 className="text-2xl font-bold mb-4">Launching Spell...</h1>
85-
<p className="text-gray-600">
86-
Please wait while we prepare your spell.
87-
</p>
85+
<p className="text-gray-600">Please wait while we prepare your spell.</p>
8886
</div>
8987
</div>
9088
);

0 commit comments

Comments
 (0)