import React, { Component } from 'react';
import './App.css';
import Nav from './components/Nav'
import Households from './components/Households'

const households = [
  { id: 1, name: "Bosco", address: "7668 Jerde Cliff", monthly_rate: 5761},
  { id: 2, name: "Lockman", address: "78743 Muller Roads", monthly_rate: 7260},
  { id: 3, name: "Volkman", address: "9134 Dante Valley", monthly_rate: 1295},

]

class App extends Component {
  render() {
    return (
      <div className="App">
        <div className="navbar">
          <Nav />
        </div>
        <div className="households">
          <Households households={households} />
        </div>
      </div>
    );
  }
}

export default App;

@@ -90,16 +90,53 @@
 ts/Nav'%0A
+import Home from './components/Home'%0A
 import H
@@ -175,16 +175,154 @@
 seholds'
+%0Aimport HouseholdService from './services/HouseholdService'%0Aimport %7B%0A  BrowserRouter as Router,%0A  Route,%0A  Link,%0A%7D from 'react-router-dom'
 %0A%0Aconst 
@@ -611,150 +611,412 @@
 %7B%0A  
-render() %7B%0A    return (%0A      %3Cdiv className=%22App%22%3E%0A        %3Cdiv className=%22navbar%22%3E%0A          %3CNav /%3E%0A        %3C/div%3E%0A        %3Cdiv className
+constructor() %7B%0A    super()%0A    this.state = %7B%0A      households: %5B%5D%0A    %7D%0A  %7D%0A  componentDidMount() %7B%0A    HouseholdService.fetchHouseholds().then(households =%3E this.setState(%7B%0A      households: households%0A    %7D))%0A  %7D%0A  render() %7B%0A    return (%0A      %3Cdiv className=%22App%22%3E%0A        %3CRouter%3E%0A          %3Cdiv%3E%0A            %3CNav /%3E%0A            %3CRoute exact path=%22/%22 component=%7BHome%7D /%3E%0A            %3CRoute path
 =%22
+/
 hous
@@ -1022,27 +1022,30 @@
 seholds%22
-%3E%0A         
+ render=%7B() =%3E
  %3CHouseh
@@ -1061,16 +1061,27 @@
 eholds=%7B
+this.state.
 househol
@@ -1082,25 +1082,32 @@
 useholds%7D /%3E
-%0A
+ %7D /%3E%0A  
         %3C/di
@@ -1105,24 +1105,42 @@
      %3C/div%3E%0A
+        %3C/Router%3E%0A
       %3C/div%3E

Configure react router to App component