We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e28dab commit 660ab8fCopy full SHA for 660ab8f
1 file changed
src/routers/components.tsx
@@ -157,7 +157,7 @@ function Routes(props: { routerState: RouterContext; branches: Branch[] }) {
157
root = next[0];
158
return next;
159
}, undefined);
160
- return createOutlet(() => routeStates() && root)();
+ return createMemo(createOutlet(() => routeStates() && root)) as unknown as JSX.Element;
161
}
162
163
const createOutlet = (child: () => RouteContext | undefined) => {
0 commit comments