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.
trezor-wallet/src/js/index.js

27 lines
551 B

7 years ago
/* @flow */
'use strict';
import React from 'react';
import { render } from 'react-dom';
6 years ago
import store from './store';
7 years ago
import router from './router';
6 years ago
import { onResize, onBeforeUnload } from './actions/AppActions';
7 years ago
6 years ago
import Raven from 'raven-js';
7 years ago
import styles from '../styles/index.less';
6 years ago
Raven.config('https://497392c3ff6e46dc9e54eef123979378@sentry.io/294339').install();
7 years ago
render(
6 years ago
router,
7 years ago
document.getElementById('root')
);
6 years ago
window.onbeforeunload = () => {
store.dispatch( onBeforeUnload() );
}
7 years ago
// workaround
// yarn add web3@^0.19.0