Complete rewrite of local state management.

This commit is contained in:
Patrick Fic
2019-12-06 23:30:15 -08:00
parent 8a72294c91
commit 4f3d917e06
17 changed files with 366 additions and 217 deletions

View File

@@ -1,4 +1,4 @@
import React, { Component, useState } from "react";
import React from "react";
import { Link } from "react-router-dom";
import { Menu, Icon } from "antd";
import "./header.styles.scss";
@@ -7,9 +7,9 @@ import SignOut from "../sign-out/sign-out.component";
export default ({ selectedNavItem, navItems }) => {
const handleClick = e => {
console.log("click ", e);
this.setState({
current: e.key
});
// this.setState({
// current: e.key
// });
};
return (