fix missing app title

This commit is contained in:
Matthias Kretschmann 2019-09-07 16:00:58 +02:00
parent 463162294d
commit 3de445dbeb
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import React from 'react'
import { render } from 'react-dom'
import AppProvider from './store/AppProvider'
import App from './App'
import pkg from '../../package.json'
document.body.style.backgroundColor = '#141414'
@ -9,6 +10,7 @@ document.body.style.backgroundColor = '#141414'
let root = document.createElement('div')
root.id = 'root'
document.body.appendChild(root)
document.title = pkg.productName
render(
<AppProvider>