mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-05 04:02:53 +02:00
Remove redundant code
This commit is contained in:
parent
abb502c863
commit
1e89cccdc9
12 changed files with 375 additions and 377 deletions
|
@ -12,7 +12,7 @@ class Layout extends React.Component {
|
|||
return (
|
||||
<>
|
||||
<SEO description={this.props.description} lang={this.props.lang} meta={this.props.meta} title={this.props.title} />
|
||||
<Navigation isHome={this.props.transparentTopbar} module={this.props.module} />
|
||||
<Navigation isHome={this.props.transparentTopbar} />
|
||||
<div id="content" role="main">
|
||||
{this.props.children}
|
||||
</div>
|
||||
|
@ -36,7 +36,6 @@ Layout.propTypes = {
|
|||
lang: PropTypes.string,
|
||||
meta: PropTypes.arrayOf(PropTypes.object),
|
||||
title: PropTypes.string.isRequired,
|
||||
module: PropTypes.string.isRequired,
|
||||
transparentTopbar: PropTypes.bool,
|
||||
children: PropTypes.any.isRequired
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue