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 (
console.log('event: ', event)} className={`${styles.text} ${styles.input}`} placeholder='Search channels by funding transaction, channel id, remote public key, etc' type='text' id='channelSearch' />
Create new channel
    { allChannels.map((channel, index) => { return ( console.log('hi')} currentTicker={currentTicker} /> ) }) }
) } } Channels.propTypes = { } export default Channels