Skip to content

Commit e93b712

Browse files
authored
fix(solid-start): fix hydration regression in 1.136.9 (#5903)
1 parent 3a97163 commit e93b712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid-router/src/Asset.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function Script({
125125

126126
if (!router.isServer) {
127127
// render an empty script on the client just to avoid hydration errors
128-
return <script />
128+
return null
129129
}
130130

131131
if (attrs?.src && typeof attrs.src === 'string') {

0 commit comments

Comments
 (0)