Skip to content

Commit

Permalink
Merge branch 'throw-errors-in-react' of https://github.com/statelyai/…
Browse files Browse the repository at this point in the history
…xstate into throw-errors-in-react
  • Loading branch information
davidkpiano committed Sep 12, 2024
2 parents 950e048 + af0316f commit 3306ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xstate-react/src/useSelector.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback } from 'react';
import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/shim/with-selector';
import { AnyActorRef, Snapshot, SnapshotFrom } from 'xstate';
import { AnyActorRef, Snapshot } from 'xstate';

type SyncExternalStoreSubscribe = Parameters<
typeof useSyncExternalStoreWithSelector
Expand Down

0 comments on commit 3306ef2

Please sign in to comment.