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 105105 "@braintree/sanitize-url" : " ^6.0.4" ,
106106 "@popperjs/core" : " ^2.11.5" ,
107107 "@react-aria/focus" : " ^3" ,
108+ "@types/use-sync-external-store" : " ^0.0.6" ,
108109 "clsx" : " ^2.0.0" ,
109110 "dayjs" : " ^1.10.4" ,
110111 "emoji-regex" : " ^9.2.0" ,
132133 "textarea-caret" : " ^3.1.0" ,
133134 "tslib" : " ^2.6.2" ,
134135 "unist-builder" : " ^3.0.0" ,
135- "unist-util-visit" : " ^5.0.0"
136+ "unist-util-visit" : " ^5.0.0" ,
137+ "use-sync-external-store" : " ^1.4.0"
136138 },
137139 "optionalDependencies" : {
138140 "@stream-io/transliterate" : " ^1.5.5" ,
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