Skip to content

Commit 17974db

Browse files
committed
Update SendbirdProvider.tsx
1 parent 901bd35 commit 17974db

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/lib/Sendbird/context/SendbirdProvider.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -232,17 +232,6 @@ const SendbirdContextManager = ({
232232
configs.groupChannel.setting,
233233
configs.openChannel.channel,
234234
]);
235-
const storeState = useMemo(() => ({
236-
stores: {
237-
sdkStore: state.stores.sdkStore,
238-
userStore: state.stores.userStore,
239-
appInfoStore: state.stores.appInfoStore,
240-
},
241-
}), [
242-
state.stores.sdkStore,
243-
state.stores.userStore,
244-
state.stores.appInfoStore,
245-
]);
246235
const uikitUploadSizeLimit = useMemo(() => (uploadSizeLimit ?? DEFAULT_UPLOAD_SIZE_LIMIT), [uploadSizeLimit, DEFAULT_UPLOAD_SIZE_LIMIT]);
247236
const configImageCompression = useMemo<ImageCompressionOptions>(() => ({
248237
compressionRate: 0.7,
@@ -354,14 +343,12 @@ const SendbirdContextManager = ({
354343

355344
useDeepCompareEffect(() => {
356345
updateState({
357-
...storeState,
358346
...utilsState,
359347
...configState,
360348
eventHandlers,
361349
emojiManager,
362350
});
363351
}, [
364-
storeState,
365352
configState,
366353
eventHandlers,
367354
emojiManager,

0 commit comments

Comments
 (0)