import React from 'react';

class Nav extends React.Component {
  constructor(props) {
    super(props);

    this.state = {

    };
  }



  render() {
    return (
      <div>
        <button id="my-shopping-list">My Shopping List</button>
        <button id="house-inventory">House Inventory</button>
      </div>
    );
  }
}

export default Nav;

import React from 'react';
import { Link } from 'react-router-dom';

const Nav = (props) => {
  return (
    <div>
      <button id="my-shopping-list"><Link to={'/shop'}>My Shopping List</Link></button>
      <button id="house-inventory"><Link to={'/inventory'}>House Inventory</Link></button>
    </div>
  );
};

export default Nav;

Add redirect functionality to /shop and /inventory
Add redirect functionality to /shop and /inventory
