diff --git a/client/channel/Discussions/ContextualBar/List.js b/client/channel/Discussions/ContextualBar/List.js
index 5fa1b7d5662..7616466ae6c 100644
--- a/client/channel/Discussions/ContextualBar/List.js
+++ b/client/channel/Discussions/ContextualBar/List.js
@@ -198,7 +198,7 @@ export function DiscussionList({ total = 10, discussions = [], loadMoreItems, lo
/>, [onClick, showRealNames, userId]);
const isItemLoaded = useCallback((index) => index < discussionsRef.current.length, []);
- const { ref, contentBoxSize: { inlineSize = 378, blockSize = 750 } = {} } = useResizeObserver();
+ const { ref, contentBoxSize: { inlineSize = 378, blockSize = 750 } = {} } = useResizeObserver({ debounceDelay: 100 });
return
@@ -210,10 +210,10 @@ export function DiscussionList({ total = 10, discussions = [], loadMoreItems, lo
}/>
-
+
{error && {error.toString()}}
{total === 0 && {t('No_Discussions_found')}}
- 0 && {} : loadMoreItems}
@@ -229,7 +229,7 @@ export function DiscussionList({ total = 10, discussions = [], loadMoreItems, lo
onItemsRendered={onItemsRendered}
>{rowRenderer}
)}
-
+ }
;
diff --git a/client/channel/Threads/ContextualBar/List.js b/client/channel/Threads/ContextualBar/List.js
index 432b0b532eb..d417bc00ef7 100644
--- a/client/channel/Threads/ContextualBar/List.js
+++ b/client/channel/Threads/ContextualBar/List.js
@@ -252,10 +252,10 @@ export function ThreadList({ total = 10, threads = [], room, unread = [], unread
-
+
{error && {error.toString()}}
{total === 0 && {t('No_Threads')}}
- 0 && {} : loadMoreItems}
@@ -271,7 +271,7 @@ export function ThreadList({ total = 10, threads = [], room, unread = [], unread
onItemsRendered={onItemsRendered}
>{rowRenderer}
)}
-
+ }
;