fix: remove unnecessary div and props
This commit is contained in:
committed by
mrugesh mohapatra
parent
ebe420c099
commit
1660a267ba
@ -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;
|
||||||
|
Reference in New Issue
Block a user