Skip to content

Commit

Permalink
fix: Use fully-specified path to import use-sync-external-store/shim (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
latin-1 authored Apr 26, 2022
1 parent 3fabd41 commit fdbc002
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/devtools/devtools.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { useSyncExternalStore } from 'use-sync-external-store/shim'
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
import {
Query,
useQueryClient,
Expand Down
2 changes: 1 addition & 1 deletion src/reactjs/useBaseQuery.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { useSyncExternalStore } from 'use-sync-external-store/shim'
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'

import { QueryKey, notifyManager, QueryObserver } from '../core'
import { useQueryErrorResetBoundary } from './QueryErrorResetBoundary'
Expand Down
2 changes: 1 addition & 1 deletion src/reactjs/useIsFetching.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { useSyncExternalStore } from 'use-sync-external-store/shim'
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'

import { ContextOptions } from './types'
import { QueryKey, notifyManager } from '../core'
Expand Down
2 changes: 1 addition & 1 deletion src/reactjs/useIsMutating.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { useSyncExternalStore } from 'use-sync-external-store/shim'
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'

import { notifyManager } from '../core/notifyManager'
import { MutationKey } from '../core/types'
Expand Down
2 changes: 1 addition & 1 deletion src/reactjs/useMutation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { useSyncExternalStore } from 'use-sync-external-store/shim'
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'

import { notifyManager } from '../core'
import { noop, parseMutationArgs } from '../core/utils'
Expand Down
2 changes: 1 addition & 1 deletion src/reactjs/useQueries.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { useSyncExternalStore } from 'use-sync-external-store/shim'
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'

import { QueryKey, QueryFunction } from '../core/types'
import { notifyManager } from '../core/notifyManager'
Expand Down

0 comments on commit fdbc002

Please sign in to comment.