OSDN Git Service

add the translation and style for the transaction details page.
[bytom/bytom-electron.git] / src / app.js
1 /*eslint-env node*/
2
3 import 'bootstrap-loader'
4 import React from 'react'
5 import { render } from 'react-dom'
6 import Root from 'Root'
7 import configureStore from 'configureStore'
8
9 // Set favicon
10 let faviconPath = require('!!file?name=favicon.ico!../static/images/favicon.png')
11 let favicon = document.createElement('link')
12 favicon.type = 'image/png'
13 favicon.rel = 'shortcut icon'
14 favicon.href = faviconPath
15 document.getElementsByTagName('head')[0].appendChild(favicon)
16
17 // Start app
18 export const store = configureStore()
19 render(
20         <Root store={store}/>,
21         document.getElementById('root')
22 )