import * as History from "history"; import * as React from "react"; import { Link } from "react-router-dom"; import { Menu } from "semantic-ui-react"; import { AppState, injectState } from "@app/state"; import { observer } from "mobx-react"; interface NavItemProps { to: string; children: React.ReactNode; location: History.Location; } @observer function NavItem({ to, children, location }: NavItemProps) { return