Skip to content

Commit

Permalink
Devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum committed Mar 8, 2025
1 parent d6214f8 commit 9d40e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/with-tanstack-router/src/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { clientOnly } from "@solidjs/start";
import { Suspense } from "solid-js";


const ClientOnlyComp = clientOnly(() => import("../components/Devtools"));
const Devtools = clientOnly(() => import("../components/Devtools"));

export const Route = createRootRoute({
component: RootComponent
Expand All @@ -17,7 +17,7 @@ function RootComponent() {
<Link to="/about">About</Link>
<Suspense>
<Outlet />
<ClientOnlyComp />
<Devtools />
</Suspense>
</>
);
Expand Down

0 comments on commit 9d40e63

Please sign in to comment.