// @flow import React, { Component } from 'react' import { MdSearch } from 'react-icons/lib/md' import styles from './Activity.scss' class Activity extends Component { componentWillMount() { this.props.fetchActivity() } render() { const { activity: { isLoading, payments, invoices } } = this.props if (isLoading) { return
Loading...
} return (

Payments

    { payments.map((payment, index) => { console.log('payment: ', payment) return (
  • hi
  • ) }) }
) } } export default Activity