File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 132132 "textarea-caret" : " ^3.1.0" ,
133133 "tslib" : " ^2.6.2" ,
134134 "unist-builder" : " ^3.0.0" ,
135- "unist-util-visit" : " ^5.0.0"
135+ "unist-util-visit" : " ^5.0.0" ,
136+ "use-sync-external-store" : " ^1.4.0"
136137 },
137138 "optionalDependencies" : {
138139 "@stream-io/transliterate" : " ^1.5.5" ,
207208 "@types/react-image-gallery" : " ^1.2.4" ,
208209 "@types/react-is" : " ^18.2.4" ,
209210 "@types/textarea-caret" : " 3.0.0" ,
211+ "@types/use-sync-external-store" : " ^0.0.6" ,
210212 "@types/uuid" : " ^8.3.0" ,
211213 "@typescript-eslint/eslint-plugin" : " 5.62.0" ,
212214 "@typescript-eslint/parser" : " 5.62.0" ,
Original file line number Diff line number Diff line change 1- import { useCallback , useMemo , useSyncExternalStore } from 'react' ;
1+ import { useCallback , useMemo } from 'react' ;
2+ import { useSyncExternalStore } from 'use-sync-external-store/shim' ;
23
34import type { StateStore } from 'stream-chat' ;
45
Original file line number Diff line number Diff line change 27692769 resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
27702770 integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==
27712771
2772+ "@types/use-sync-external-store@^0.0.6":
2773+ version "0.0.6"
2774+ resolved "https://registry.yarnpkg.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz#60be8d21baab8c305132eb9cb912ed497852aadc"
2775+ integrity sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==
2776+
27722777"@types/uuid@^8.3.0":
27732778 version "8.3.0"
27742779 resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.0.tgz#215c231dff736d5ba92410e6d602050cce7e273f"
@@ -13197,6 +13202,11 @@ use-latest@^1.0.0:
1319713202 dependencies:
1319813203 use-isomorphic-layout-effect "^1.0.0"
1319913204
13205+ use-sync-external-store@^1.4.0:
13206+ version "1.4.0"
13207+ resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.4.0.tgz#adbc795d8eeb47029963016cefdf89dc799fcebc"
13208+ integrity sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==
13209+
1320013210use@^3.1.0:
1320113211 version "3.1.1"
1320213212 resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f"
You can’t perform that action at this time.
0 commit comments