import React, { Component } from 'react';
import { connect } from 'react-redux';


class Home extends Component {
  render () {
    return (
      <div>
        Wellcome to auction-app! ;)
      </div>
    );
  }
}

export default connect(() => {
  return { };
})(Home);

@@ -18,16 +18,27 @@
 omponent
+, PropTypes
  %7D from 
@@ -90,114 +90,637 @@
 ';%0A%0A
-%0Aclass Home extends Component %7B%0A  render () %7B%0A    return (%0A      %3Cdiv%3E%0A        Wellcome to auction-app! ;)
+import Buyer from '../components/buyer';%0A%0A%0Aclass Home extends Component %7B%0A  static propTypes = %7B%0A    history: PropTypes.object.isRequired,%0A  %7D;%0A%0A  handleBuyerClick (id) %7B%0A    this.props.history.push(%60/auctions/$%7Bid%7D%60);%0A  %7D%0A%0A  render () %7B%0A    const buyersList = %5B%0A      %7B id: 1, name: 'Buyer 1' %7D,%0A      %7B id: 2, name: 'Buyer 2' %7D,%0A    %5D;%0A%0A    const buyers = buyersList%0A      .map((buyer) =%3E %7B%0A        return (%0A          %3CBuyer%0A            key=%7Bbuyer.id%7D%0A            buyer=%7Bbuyer%7D%0A            onClick=%7B::this.handleBuyerClick%7D%0A          /%3E%0A        );%0A      %7D);%0A%0A    return (%0A      %3Cdiv%3E%0A        Choose your Buyer:%0A        %7Bbuyers%7D
 %0A   

Add buyers to Home container