We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec288ba commit 2d601edCopy full SHA for 2d601ed
package/src/components/Channel/Channel.tsx
@@ -783,6 +783,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
783
const [threadHasMore, setThreadHasMore] = useState(true);
784
const [threadLoadingMore, setThreadLoadingMore] = useState(false);
785
const [channelUnreadStateStore] = useState(new ChannelUnreadStateStore());
786
+ // TODO: Think if we can remove this and just rely on the channelUnreadStateStore everywhere.
787
const setChannelUnreadState = useCallback(
788
(data: ChannelUnreadStateStoreType['channelUnreadState']) => {
789
channelUnreadStateStore.channelUnreadState = data;
0 commit comments