Remove unused constructor
This commit is contained in:
parent
4cef1e85b4
commit
942e16951d
@ -21,10 +21,6 @@ const propTypes = {
|
||||
};
|
||||
|
||||
export default class App extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
renderNavBar() {
|
||||
const { navbar } = this.props;
|
||||
|
||||
|
@ -17,10 +17,6 @@ const defaultProps = {
|
||||
};
|
||||
|
||||
class AppContainer extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
// inject location on the navbar container
|
||||
let navbarWithLocation = cloneElement(this.props.navbar, { location: this.props.location });
|
||||
|
Loading…
Reference in New Issue
Block a user