diff --git a/recipes/compiler.tsx b/recipes/compiler.tsx index c3cd0f1f2..c46f15e5c 100644 --- a/recipes/compiler.tsx +++ b/recipes/compiler.tsx @@ -5,6 +5,7 @@ import { Default, handler, ifElse, + derive, NAME, navigateTo, recipe, @@ -37,7 +38,8 @@ const visit = handler< main: "/main.tsx", }); - console.log("result", result); + const x = derive(result, (r: any) => r) + console.log("result", result, x); return navigateTo(result); }, @@ -63,7 +65,7 @@ export default recipe( /> {ifElse( error, - fix the errors, + fix the error: {error},