fix: remove unnecessary div and props
This commit is contained in:
committed by
mrugesh mohapatra
parent
ebe420c099
commit
1660a267ba
@ -5,33 +5,31 @@ 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>
|
<p>
|
||||||
<p>
|
This open source guide is curated by thousands of contributors. You can
|
||||||
This open source guide is curated by thousands of contributors. You can
|
help by researching, writing and updating these articles. It is an easy
|
||||||
help by researching, writing and updating these articles. It is an easy
|
and fun way to get started with contributing to open source.
|
||||||
and fun way to get started with contributing to open source.
|
</p>
|
||||||
</p>
|
<ul>
|
||||||
<ul>
|
<li>
|
||||||
<li>
|
<Link to='https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md#research-write-and-update-our-guide-articles'>
|
||||||
<Link to='https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md#research-write-and-update-our-guide-articles'>
|
Follow our contributing guidelines for working on guide articles
|
||||||
Follow our contributing guidelines for working on guide articles
|
</Link>
|
||||||
</Link>
|
.
|
||||||
.
|
</li>
|
||||||
</li>
|
<li>
|
||||||
<li>
|
<Link to={githubPath}>Edit this article on GitHub</Link>.
|
||||||
<Link to={githubPath}>Edit this article on GitHub</Link>.
|
</li>
|
||||||
</li>
|
</ul>
|
||||||
</ul>
|
<Spacer />
|
||||||
<Spacer />
|
</>
|
||||||
</div>
|
);
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
GuideFooter.displayName = 'GuideFooter';
|
GuideFooter.displayName = 'GuideFooter';
|
||||||
GuideFooter.propTypes = propTypes;
|
GuideFooter.propTypes = propTypes;
|
||||||
|
Reference in New Issue
Block a user