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 = { const propTypes = {
githubPath: PropTypes.string githubPath: PropTypes.string
}; };
const GuideFooter = props => {
const { githubPath } = props; const GuideFooter = ({ githubPath }) => (
return ( <>
<div>
<Spacer /> <Spacer />
<hr /> <hr />
<h4>Contributing to the Guide</h4> <h4>Contributing to the Guide</h4>
@ -29,9 +28,8 @@ const GuideFooter = props => {
</li> </li>
</ul> </ul>
<Spacer /> <Spacer />
</div> </>
); );
};
GuideFooter.displayName = 'GuideFooter'; GuideFooter.displayName = 'GuideFooter';
GuideFooter.propTypes = propTypes; GuideFooter.propTypes = propTypes;