/* eslint-disable no-unused-vars */ import React, { Fragment } from "react"; import { Link, withRouter } from "react-router-dom"; import { signout, isAuthenticated } from "../auth"; // eslint-disable-next-line import { itemTotal } from "./cartHelpers"; import DropdownButton from 'react-bootstrap/DropdownButton'; import Dropdown from 'react-bootstrap/Dropdown'; const isActive = (history, path) => { if (history.location.pathname === path) { return { color: "#ff9900" }; } else { return { color: "white" }; } }; const Menu = ({ history }) => ( ); export default withRouter(Menu);