Move global styles to componentWillMount (allows prerendering of global styles & normalize)
This commit is contained in:
parent
216bac3bf5
commit
3b2fff7cc2
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ const routes = [
|
|||
]
|
||||
|
||||
class App extends Component {
|
||||
componentDidMount () {
|
||||
componentWillMount () {
|
||||
globalStyles()
|
||||
loadFonts()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue