From 7762d68aef90aa9229f33659f4d8fa0ee626ae6d Mon Sep 17 00:00:00 2001 From: Simon Reinsperger Date: Wed, 8 Mar 2017 17:30:14 +0100 Subject: [PATCH] refactor: fixes linting errors components/SiteNav/index.jsx --- components/SiteNav/index.jsx | 55 ++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 30 deletions(-) diff --git a/components/SiteNav/index.jsx b/components/SiteNav/index.jsx index 7468fe3..be7ffd8 100644 --- a/components/SiteNav/index.jsx +++ b/components/SiteNav/index.jsx @@ -1,34 +1,29 @@ -import React from 'react' -import { RouteHandler, Link } from 'react-router' -import { prefixLink } from 'gatsby-helpers' -import './style.css' +import React from 'react'; +import { Link } from 'react-router'; +import { prefixLink } from 'gatsby-helpers'; +import './style.css'; class SiteNav extends React.Component { - render() { - const {location} = this.props - return ( - - ); - } + render() { + return ( + + ); + } } -SiteNav.propTypes = { - location: React.PropTypes.object, -} - -export default SiteNav +export default SiteNav;