Skip to content

Commit d6f5870

Browse files
authored
fix missing props lazy compoonent (#5597)
1 parent 163ff7b commit d6f5870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid-router/src/lazyRouteComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function lazyRouteComponent<
7878
initialValue: comp,
7979
ssrLoadFrom: 'initial',
8080
})
81-
return <>{compResource()}</>
81+
return <Dynamic component={compResource()} {...props} />
8282
}
8383

8484
return <Dynamic component={comp} {...props} />

0 commit comments

Comments
 (0)