From a6d93fa931d278495f1485c9d6ec59bd76fcc841 Mon Sep 17 00:00:00 2001 From: Brenley Dueck Date: Thu, 23 Oct 2025 19:17:26 -0500 Subject: [PATCH 1/2] fix missing props lazy compoonent --- packages/solid-router/src/lazyRouteComponent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/solid-router/src/lazyRouteComponent.tsx b/packages/solid-router/src/lazyRouteComponent.tsx index b73286e5298..26eb259ceaf 100644 --- a/packages/solid-router/src/lazyRouteComponent.tsx +++ b/packages/solid-router/src/lazyRouteComponent.tsx @@ -78,13 +78,13 @@ export function lazyRouteComponent< initialValue: comp, ssrLoadFrom: 'initial', }) - return <>{compResource()} + return } return } - ;(lazyComp as any).preload = load + ; (lazyComp as any).preload = load return lazyComp as any } From b10bd2ba667b8c00991c1283a269a372c41c9e38 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 00:18:44 +0000 Subject: [PATCH 2/2] ci: apply automated fixes --- packages/solid-router/src/lazyRouteComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/solid-router/src/lazyRouteComponent.tsx b/packages/solid-router/src/lazyRouteComponent.tsx index 26eb259ceaf..424940522b7 100644 --- a/packages/solid-router/src/lazyRouteComponent.tsx +++ b/packages/solid-router/src/lazyRouteComponent.tsx @@ -84,7 +84,7 @@ export function lazyRouteComponent< return } - ; (lazyComp as any).preload = load + ;(lazyComp as any).preload = load return lazyComp as any }