From 4ce80687168588623d6d61147467e24810d3da18 Mon Sep 17 00:00:00 2001 From: Kacper Michalik Date: Wed, 17 May 2023 13:39:18 +0200 Subject: [PATCH] fix mobile package --- .../mobile/src/screens/ChannelList/ChannelList.screen.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx b/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx index 70a8197f87..37c6d63e80 100644 --- a/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx +++ b/packages/mobile/src/screens/ChannelList/ChannelList.screen.tsx @@ -12,11 +12,6 @@ import { formatMessageDisplayDate } from '../../utils/functions/formatMessageDis import { useContextMenu } from '../../hooks/useContextMenu' import { MenuName } from '../../const/MenuNames.enum' -import { PublicChannelStatus } from '@quiet/types' - -interface ChannelMobile extends PublicChannelStatus { - name: string -} export const ChannelListScreen: FC = () => { const dispatch = useDispatch() @@ -41,7 +36,7 @@ export const ChannelListScreen: FC = () => { const channelsStatusSortedSelector = useSelector(publicChannels.selectors.channelsStatusSorted) const publicChannelsSelector = useSelector(publicChannels.selectors.publicChannels) - const channels = channelsStatusSortedSelector.reduce((prev: ChannelMobile[], curr) => { + const channels = channelsStatusSortedSelector.reduce((prev, curr) => { return [ ...prev, {