Skip to content

Commit 47ce53e

Browse files
committed
changes after review
1 parent fb35123 commit 47ce53e

File tree

7 files changed

+7
-11
lines changed

7 files changed

+7
-11
lines changed

src/devtools/devtools.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
2+
import { useSyncExternalStore } from '../reactjs/useSyncExternalStore'
33
import {
44
Query,
55
useQueryClient,

src/reactjs/useIsFetching.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
2+
import { useSyncExternalStore } from './useSyncExternalStore'
33

44
import { ContextOptions } from './types'
55
import { QueryKey, notifyManager } from '../core'

src/reactjs/useIsMutating.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
2+
import { useSyncExternalStore } from './useSyncExternalStore'
33

44
import { notifyManager } from '../core/notifyManager'
55
import { MutationKey } from '../core/types'

src/reactjs/useMutation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
2+
import { useSyncExternalStore } from './useSyncExternalStore'
33

44
import { notifyManager } from '../core'
55
import { noop, parseMutationArgs } from '../core/utils'

src/reactjs/useQueries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
2+
import { useSyncExternalStore } from './useSyncExternalStore'
33

44
import { QueryKey, QueryFunction } from '../core/types'
55
import { notifyManager } from '../core/notifyManager'
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// @ts-ignore
2-
// eslint-disable-next-line import/no-unresolved
3-
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.native.js'
4-
export { useSyncExternalStore }
2+
export { useSyncExternalStore } from 'use-sync-external-store/shim/index.native.js'
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
// @ts-ignore
2-
// eslint-disable-next-line import/no-unresolved
3-
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
4-
export { useSyncExternalStore }
2+
export { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'

0 commit comments

Comments
 (0)