import React, { Component } from 'react' import PropTypes from 'prop-types' import { MdSearch } from 'react-icons/lib/md' import PeerForm from 'components/Peers/PeerForm' import PeerModal from 'components/Peers/PeerModal' import Peer from 'components/Peers/Peer' import styles from './Peers.scss' class Peers extends Component { componentWillMount() { this.props.fetchPeers() } render() { const { peerFormProps, setPeerForm, setPeer, updateSearchQuery, disconnectRequest, peerModalOpen, filteredPeers, peers: { peer, searchQuery } } = this.props return (