// @flow import React, { Component } from 'react' import ReactSVG from 'react-svg' import { FaCircle } from 'react-icons/lib/fa' import Peers from './components/peers' import Channels from './components/channels' import styles from './Wallet.scss' class Wallet extends Component { componentWillMount() { const { fetchInfo, fetchPeers, fetchChannels } = this.props fetchInfo() fetchPeers() fetchChannels() } render() { const { info, peers: { peersLoading, peers, peer }, channels: { channelsLoading, channels, channel, form }, setPeer, setChannel, peerModalOpen, channelModalOpen, setForm } = this.props console.log('props: ', this.props) return (

{info.data.identity_pubkey}

) } } export default Wallet