From b2e67e01259d78e3277b9b4f8d276475a3a637df Mon Sep 17 00:00:00 2001 From: Nick Pegg Date: Wed, 11 Oct 2017 19:51:38 -0700 Subject: [PATCH] deprecate RouterListLink --- src/Nav.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/Nav.js b/src/Nav.js index b3938b9..049642f 100644 --- a/src/Nav.js +++ b/src/Nav.js @@ -8,19 +8,6 @@ import { Row } from './skeleton'; class ListLink extends Component { - render () { - let icon = null; - if (this.props.icon) { - icon = - } - - return ( -
  • { icon } { this.props.name }
  • - ); - } -} - -class RouterListLink extends Component { render () { let icon = null; if (this.props.icon) { @@ -54,7 +41,7 @@ class NavList extends Component { if (page.parent == null) { let href = "/" + slug; - links.push(
      - + { this.state.pageLinks }