Skip to content

Commit 6565946

Browse files
lint
1 parent 264be9c commit 6565946

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/router-core/src/load-matches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { batch } from '@tanstack/store'
22
import invariant from 'tiny-invariant'
3+
import { isServer } from '@tanstack/router-core/isServer'
34
import { createControlledPromise, isPromise } from './utils'
45
import { isNotFound } from './not-found'
56
import { rootRouteId } from './root'
67
import { isRedirect } from './redirect'
7-
import { isServer } from '@tanstack/router-core/isServer'
88
import type { NotFoundError } from './not-found'
99
import type { ParsedLocation } from './location'
1010
import type {

packages/router-core/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Store, batch } from '@tanstack/store'
22
import { createBrowserHistory, parseHref } from '@tanstack/history'
3+
import { isServer } from '@tanstack/router-core/isServer'
34
import {
45
createControlledPromise,
56
decodePath,
@@ -26,7 +27,6 @@ import {
2627
trimPath,
2728
trimPathRight,
2829
} from './path'
29-
import { isServer } from '@tanstack/router-core/isServer'
3030
import { createLRUCache } from './lru-cache'
3131
import { isNotFound } from './not-found'
3232
import { setupScrollRestoration } from './scroll-restoration'

packages/router-core/src/scroll-restoration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { functionalUpdate } from './utils'
21
import { isServer } from '@tanstack/router-core/isServer'
2+
import { functionalUpdate } from './utils'
33
import type { AnyRouter } from './router'
44
import type { ParsedLocation } from './location'
55
import type { NonNullableUpdater } from './utils'

0 commit comments

Comments
 (0)