Skip to content

Commit

Permalink
Rename componentDidMount to componentWillMount in App component (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegohaz committed Nov 18, 2016
1 parent f4be5cd commit 3b8f4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-clean/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class App extends Component {
children: PropTypes.any
}

componentDidMount () {
componentWillMount () {
injectGlobal`
body {
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class App extends Component {
children: PropTypes.any
}

componentDidMount () {
componentWillMount () {
injectGlobal`
body {
margin: 0;
Expand Down

0 comments on commit 3b8f4e6

Please sign in to comment.