Skip to content

Commit

Permalink
make top-level App component stateless
Browse files Browse the repository at this point in the history
  • Loading branch information
pheuter committed Feb 28, 2016
1 parent 9bdb23f commit e0c8f37
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/common/components/App.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import React from 'react';


export default class App extends React.Component {
render() {
return (
<div id="container">
{this.props.children}
</div>
);
}
export default ({children}) => {
return (
<div id="container">
{children}
</div>
);
}

0 comments on commit e0c8f37

Please sign in to comment.