Skip to content

Commit 6533c26

Browse files
Use React shim package to support older React versions
1 parent a96a9dc commit 6533c26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/store/hooks/useStateStore.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { useCallback, useMemo, useSyncExternalStore } from 'react';
1+
import { useCallback, useMemo } from 'react';
2+
import { useSyncExternalStore } from 'use-sync-external-store/shim';
23

34
import type { StateStore } from 'stream-chat';
45

0 commit comments

Comments
 (0)