Skip to content

Commit e054017

Browse files
wyMinLwintannerlinsley
authored andcommitted
fix(create): move HeadContent to head block in Solid root template
1 parent d530fa3 commit e054017

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/create/src/frameworks/solid/project/base/src/routes

packages/create/src/frameworks/solid/project/base/src/routes/__root.tsx.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ function RootComponent() {
4646
<html>
4747
<head>
4848
<HydrationScript />
49+
<HeadContent />
4950
</head>
5051
<body>
51-
<HeadContent />
5252
<Suspense>
5353
<Outlet />
5454
<TanStackRouterDevtools />
@@ -92,9 +92,9 @@ function RootComponent() {
9292
<html>
9393
<head>
9494
<HydrationScript />
95+
<HeadContent />
9596
</head>
9697
<body>
97-
<HeadContent />
9898
<Suspense>
9999
<Header />
100100
<Outlet />

0 commit comments

Comments
 (0)