From 895154dab92a5b55b5a54aef77143405504fb7ef Mon Sep 17 00:00:00 2001 From: Dalton Date: Wed, 12 Feb 2020 19:48:28 -0600 Subject: [PATCH] added Sean's changes back in --- ui/component/navigationButton/view.jsx | 11 +++++++---- ui/component/router/view.jsx | 21 ++++++++++++-------- ui/scss/component/_header.scss | 27 +++++++++++++++++--------- ui/scss/component/menu-button.scss | 2 ++ 4 files changed, 40 insertions(+), 21 deletions(-) diff --git a/ui/component/navigationButton/view.jsx b/ui/component/navigationButton/view.jsx index a9f2fbb1c..72c9cb017 100644 --- a/ui/component/navigationButton/view.jsx +++ b/ui/component/navigationButton/view.jsx @@ -9,7 +9,7 @@ const MAX_HISTORY_SIZE = 12; type Props = { isBackward: boolean, history: { - entries: { key: string, title: string }[], + entries: Array<{ key: string, title: string, pathname: string }>, go: number => void, goBack: () => void, goForward: () => void, @@ -44,19 +44,22 @@ const NavigationButton = (props: Props) => { // creates an
  • intended for the button's