From 4bcdc0926649b58c65eb189229f1924fc61c03bc Mon Sep 17 00:00:00 2001 From: Ben Follington <5009316+bfollington@users.noreply.github.com> Date: Thu, 6 Nov 2025 11:15:14 +1000 Subject: [PATCH] Make import errors visible, debug why navigateTo fails --- recipes/compiler.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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},