Skip to content

Commit

Permalink
fix mobile package
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper-RF committed May 17, 2023
1 parent ee5c347 commit 4ce8068
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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,
{
Expand Down

0 comments on commit 4ce8068

Please sign in to comment.