fix: remove unnecessary div and props

This commit is contained in:
Valeriy
2019-05-02 21:25:13 +03:00
committed by mrugesh mohapatra
parent ebe420c099
commit 1660a267ba

View File

@ -5,10 +5,9 @@ import { Link, Spacer } from '../../../components/helpers';
const propTypes = {
githubPath: PropTypes.string
};
const GuideFooter = props => {
const { githubPath } = props;
return (
<div>
const GuideFooter = ({ githubPath }) => (
<>
<Spacer />
<hr />
<h4>Contributing to the Guide</h4>
@ -29,9 +28,8 @@ const GuideFooter = props => {
</li>
</ul>
<Spacer />
</div>
);
};
</>
);
GuideFooter.displayName = 'GuideFooter';
GuideFooter.propTypes = propTypes;