Skip to content

Commit 98e8edf

Browse files
committed
fix: default channel list item component
1 parent 9e7a6bd commit 98e8edf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/src/components/ChannelList/ChannelList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
import { useChatContext } from '../../contexts/chatContext/ChatContext';
2929
import { SwipeRegistryProvider } from '../../contexts/swipeableContext/SwipeRegistryContext';
3030
import type { ChannelListEventListenerOptions } from '../../types/types';
31-
import { ChannelPreview } from '../ChannelPreview/ChannelPreview';
31+
import { ChannelPreviewMessenger } from '../ChannelPreview/ChannelPreviewMessenger';
3232
import { EmptyStateIndicator as EmptyStateIndicatorDefault } from '../Indicators/EmptyStateIndicator';
3333
import { LoadingErrorIndicator as LoadingErrorIndicatorDefault } from '../Indicators/LoadingErrorIndicator';
3434

@@ -279,7 +279,7 @@ export const ChannelList = (props: ChannelListProps) => {
279279
onRemovedFromChannel,
280280
onSelect,
281281
options = DEFAULT_OPTIONS,
282-
Preview = ChannelPreview,
282+
Preview = ChannelPreviewMessenger,
283283
getChannelActionItems,
284284
PreviewAvatar,
285285
PreviewMessage,

0 commit comments

Comments
 (0)