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 = {
|
||||
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;
|
||||
|
Reference in New Issue
Block a user