Skip to content
Source
Sign inSign up
TanStack/router

chore(eslint): resolve eslint errors in hydrateStart #5521

Mergednlynzaad(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/5521/headmerged by nlynzaad(GitHub profile, opens in a new tab)

Showing 1 changed file with 4 additions and 2 deletions.

x
0 of 1 viewed, 1 left
4 additions and 2 deletionspackages/start-client-core/src/client/hydrateStart.tsModified
View file
@@ -1,10 +1,12 @@
import { hydrate } from '@tanstack/router-core/ssr/client'
​
+// eslint-disable-next-line import/no-duplicates
+import { startInstance } from '#tanstack-start-entry'
+// eslint-disable-next-line import/no-duplicates
+import { getRouter } from '#tanstack-router-entry'
Resolvedby nlynzaad(GitHub profile, opens in a new tab)
import { ServerFunctionSerializationAdapter } from './ServerFunctionSerializationAdapter'
import type { AnyStartInstanceOptions } from '../createStart'
import type { AnyRouter, AnySerializationAdapter } from '@tanstack/router-core'
-import { startInstance } from '#tanstack-start-entry'
-import { getRouter } from '#tanstack-router-entry'
​
export async function hydrateStart(): Promise<AnyRouter> {
const router = await getRouter()