Skip to content

Commit 6eca403

Browse files
authored
Merge pull request #9 from Zetoff/fix/some-clean-up
removed unused props
2 parents 21012b8 + 4d8cd08 commit 6eca403

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/Layout/Layout.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import Footer from '../Footer';
1414

1515
class Layout extends React.PureComponent {
1616
static propTypes = {
17-
title: PropTypes.string,
1817
classes: PropTypes.shape({}),
1918
children: PropTypes.element.isRequired,
2019
navbarPostion: PropTypes.string,
@@ -50,8 +49,6 @@ class Layout extends React.PureComponent {
5049

5150
render() {
5251
const {
53-
title,
54-
logo, // TODO what kind of logo can we expect?.....
5552
classes,
5653
children,
5754
navbarPostion,
@@ -73,7 +70,7 @@ class Layout extends React.PureComponent {
7370

7471
return (
7572
<div className={classes.layout}>
76-
<NavBar {...navBarProps} title={title} logo={logo} onIconClick={this.toggleDrawer}>
73+
<NavBar {...navBarProps} onIconClick={this.toggleDrawer}>
7774
{navBarContent}
7875
</NavBar>
7976
{drawerContent ? (

0 commit comments

Comments
 (0)