import React, { Component } from 'react' import PropTypes from 'prop-types' import { FaAlignJustify, FaThLarge } from 'react-icons/lib/fa' import { MdSearch } from 'react-icons/lib/md' import Channel from 'components/Channels/Channel' import ChannelForm from 'components/ChannelForm' import styles from './Channels.scss' class Channels extends Component { componentWillMount() { const { fetchChannels, fetchPeers } = this.props fetchChannels() fetchPeers() } render() { const { channels: { channels }, allChannels, closeChannelForm, openChannelForm, channelform, channelFormHeader, channelFormProgress, peers: { peers }, ticker, currentTicker, channelFormProps } = this.props return (