Skip to content
Source
Sign inSign up
TanStack/router

fix: solid start error outside monorepo #5566

Mergedbrenelz(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/5566/headmerged by brenelz(GitHub profile, opens in a new tab)

Showing 1 changed file with 1 addition and 2 deletions.

x
0 of 1 viewed, 1 left
1 addition and 2 deletionspackages/solid-start/src/default-entry/client.tsxModified
View file
@@ -1,6 +1,5 @@
import { hydrate } from 'solid-js/web'
-import { hydrateStart } from '@tanstack/start-client-core/client'
-import { StartClient } from '@tanstack/solid-start/client'
+import { StartClient, hydrateStart } from '@tanstack/solid-start/client'
​
hydrateStart().then((router) => {
hydrate(() => <StartClient router={router} />, document)