Skip to content

Commit 82abf97

Browse files
committed
Switch to forked and modified uSESWS
1 parent c31b8dd commit 82abf97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hooks/useSelector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//import * as React from 'react'
22
import { React } from '../utils/react'
3-
import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-selector.js'
3+
import { useSyncExternalStoreWithSelector } from './useSyncExternalStoreWithSelector'
44
import type { ReactReduxContextValue } from '../components/Context'
55
import { ReactReduxContext } from '../components/Context'
66
import type { EqualityFn, NoInfer } from '../types'

src/hooks/useSyncExternalStoreWithSelector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react'
22
import is from '../utils/shallowEqual'
3-
import { useSyncExternalStore } from 'use-sync-external-store'
3+
import { useSyncExternalStore } from 'react'
44

55
// Intentionally not using named imports because Rollup uses dynamic dispatch
66
// for CommonJS interop.

0 commit comments

Comments
 (0)