mirror of https://github.com/trezor/trezor-wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
551 B
27 lines
551 B
/* @flow */
|
|
'use strict';
|
|
|
|
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
import store from './store';
|
|
import router from './router';
|
|
import { onResize, onBeforeUnload } from './actions/AppActions';
|
|
|
|
import Raven from 'raven-js';
|
|
|
|
import styles from '../styles/index.less';
|
|
|
|
|
|
Raven.config('https://497392c3ff6e46dc9e54eef123979378@sentry.io/294339').install();
|
|
|
|
render(
|
|
router,
|
|
document.getElementById('root')
|
|
);
|
|
|
|
window.onbeforeunload = () => {
|
|
store.dispatch( onBeforeUnload() );
|
|
}
|
|
|
|
// workaround
|
|
// yarn add web3@^0.19.0
|