1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 17:28:10 +00:00

Removed relative paths

This commit is contained in:
Vladimir Volek 2018-08-14 15:11:52 +02:00
parent 246d95e097
commit cb14cfdfe7
23 changed files with 78 additions and 78 deletions

View File

@ -4,7 +4,7 @@ import { render } from 'react-dom';
import baseStyles from 'support/BaseStyles'; import baseStyles from 'support/BaseStyles';
import store from './store'; import store from './store';
import App from './router'; import App from './router';
import { onBeforeUnload } from './actions/WalletActions'; import { onBeforeUnload } from 'actions/WalletActions';
import styles from 'styles/index.less'; import styles from 'styles/index.less';
const root: ?HTMLElement = document.getElementById('root'); const root: ?HTMLElement = document.getElementById('root');

View File

@ -1,16 +1,16 @@
/* @flow */ /* @flow */
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import * as ACCOUNT from '../actions/constants/account'; import * as ACCOUNT from 'actions/constants/account';
import type { Action, TrezorDevice } from 'flowtype'; import type { Action, TrezorDevice } from 'flowtype';
import type { import type {
AccountCreateAction, AccountCreateAction,
AccountSetBalanceAction, AccountSetBalanceAction,
AccountSetNonceAction, AccountSetNonceAction,
} from '../actions/AccountsActions'; } from 'actions/AccountsActions';
export type Account = { export type Account = {
loaded: boolean; loaded: boolean;

View File

@ -3,8 +3,8 @@
import { TRANSPORT, DEVICE } from 'trezor-connect'; import { TRANSPORT, DEVICE } from 'trezor-connect';
import type { Device } from 'trezor-connect'; import type { Device } from 'trezor-connect';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import type { Action, TrezorDevice } from 'flowtype'; import type { Action, TrezorDevice } from 'flowtype';

View File

@ -3,10 +3,10 @@
import HDKey from 'hdkey'; import HDKey from 'hdkey';
import * as DISCOVERY from '../actions/constants/discovery'; import * as DISCOVERY from 'actions/constants/discovery';
import * as ACCOUNT from '../actions/constants/account'; import * as ACCOUNT from 'actions/constants/account';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import type { Action, TrezorDevice } from 'flowtype'; import type { Action, TrezorDevice } from 'flowtype';
import type { import type {
@ -14,11 +14,11 @@ import type {
DiscoveryWaitingAction, DiscoveryWaitingAction,
DiscoveryStopAction, DiscoveryStopAction,
DiscoveryCompleteAction, DiscoveryCompleteAction,
} from '../actions/DiscoveryActions'; } from 'actions/DiscoveryActions';
import type { import type {
AccountCreateAction, AccountCreateAction,
} from '../actions/AccountsActions'; } from 'actions/AccountsActions';
export type Discovery = { export type Discovery = {
network: string; network: string;

View File

@ -1,7 +1,7 @@
/* @flow */ /* @flow */
import * as STORAGE from '../actions/constants/localStorage'; import * as STORAGE from 'actions/constants/localStorage';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';

View File

@ -1,7 +1,7 @@
/* @flow */ /* @flow */
import * as LOG from '../actions/constants/log'; import * as LOG from 'actions/constants/log';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';
export type LogEntry = { export type LogEntry = {

View File

@ -2,9 +2,9 @@
import { UI, DEVICE } from 'trezor-connect'; import { UI, DEVICE } from 'trezor-connect';
import * as RECEIVE from '../actions/constants/receive'; import * as RECEIVE from 'actions/constants/receive';
import * as MODAL from '../actions/constants/modal'; import * as MODAL from 'actions/constants/modal';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import type { Action, TrezorDevice } from 'flowtype'; import type { Action, TrezorDevice } from 'flowtype';

View File

@ -2,7 +2,7 @@
import { LOCATION_CHANGE } from 'react-router-redux'; import { LOCATION_CHANGE } from 'react-router-redux';
import * as NOTIFICATION from '../actions/constants/notification'; import * as NOTIFICATION from 'actions/constants/notification';
import { DEVICE } from 'trezor-connect'; import { DEVICE } from 'trezor-connect';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';

View File

@ -1,12 +1,12 @@
/* @flow */ /* @flow */
import * as PENDING from '../actions/constants/pendingTx'; import * as PENDING from 'actions/constants/pendingTx';
import * as SEND from '../actions/constants/send'; import * as SEND from 'actions/constants/send';
import * as WEB3 from '../actions/constants/web3'; import * as WEB3 from 'actions/constants/web3';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';
import type { SendTxAction } from '../actions/SendFormActions'; import type { SendTxAction } from 'actions/SendFormActions';
export type PendingTx = { export type PendingTx = {
+id: string; +id: string;

View File

@ -2,8 +2,8 @@
import { UI } from 'trezor-connect'; import { UI } from 'trezor-connect';
import * as RECEIVE from '../actions/constants/receive'; import * as RECEIVE from 'actions/constants/receive';
import * as ACCOUNT from '../actions/constants/account'; import * as ACCOUNT from 'actions/constants/account';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';

View File

@ -1,7 +1,7 @@
/* @flow */ /* @flow */
import * as ACCOUNT from '../actions/constants/account'; import * as ACCOUNT from 'actions/constants/account';
import type { import type {
Action, Action,

View File

@ -3,17 +3,17 @@
import EthereumjsUnits from 'ethereumjs-units'; import EthereumjsUnits from 'ethereumjs-units';
import BigNumber from 'bignumber.js'; import BigNumber from 'bignumber.js';
import * as SEND from '../actions/constants/send'; import * as SEND from 'actions/constants/send';
import * as WEB3 from '../actions/constants/web3'; import * as WEB3 from 'actions/constants/web3';
import * as ACCOUNT from '../actions/constants/account'; import * as ACCOUNT from 'actions/constants/account';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import { getFeeLevels } from '../actions/SendFormActions'; import { getFeeLevels } from 'actions/SendFormActions';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';
import type { import type {
Web3UpdateGasPriceAction, Web3UpdateGasPriceAction,
} from '../actions/Web3Actions'; } from 'actions/Web3Actions';
export type State = { export type State = {
+networkName: string; +networkName: string;

View File

@ -1,8 +1,8 @@
/* @flow */ /* @flow */
import * as ACCOUNT from '../actions/constants/account'; import * as ACCOUNT from 'actions/constants/account';
import * as SUMMARY from '../actions/constants/summary'; import * as SUMMARY from 'actions/constants/summary';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';
import type { NetworkToken } from './LocalStorageReducer'; import type { NetworkToken } from './LocalStorageReducer';

View File

@ -1,9 +1,9 @@
/* @flow */ /* @flow */
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import * as TOKEN from '../actions/constants/token'; import * as TOKEN from 'actions/constants/token';
import type { Action, TrezorDevice } from 'flowtype'; import type { Action, TrezorDevice } from 'flowtype';
import type { Account } from './AccountsReducer'; import type { Account } from './AccountsReducer';

View File

@ -3,8 +3,8 @@
import { TRANSPORT, DEVICE, UI } from 'trezor-connect'; import { TRANSPORT, DEVICE, UI } from 'trezor-connect';
import type { Device } from 'trezor-connect'; import type { Device } from 'trezor-connect';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import type { Action, TrezorDevice } from 'flowtype'; import type { Action, TrezorDevice } from 'flowtype';

View File

@ -3,10 +3,10 @@
import { LOCATION_CHANGE } from 'react-router-redux'; import { LOCATION_CHANGE } from 'react-router-redux';
import { DEVICE } from 'trezor-connect'; import { DEVICE } from 'trezor-connect';
import * as MODAL from '../actions/constants/modal'; import * as MODAL from 'actions/constants/modal';
import * as WEB3 from '../actions/constants/web3'; import * as WEB3 from 'actions/constants/web3';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import type { Action, RouterLocationState, TrezorDevice } from 'flowtype'; import type { Action, RouterLocationState, TrezorDevice } from 'flowtype';

View File

@ -4,14 +4,14 @@
import Web3 from 'web3'; import Web3 from 'web3';
import type { ContractFactory } from 'web3'; import type { ContractFactory } from 'web3';
import * as STORAGE from '../actions/constants/localStorage'; import * as STORAGE from 'actions/constants/localStorage';
import * as WEB3 from '../actions/constants/web3'; import * as WEB3 from 'actions/constants/web3';
import type { Action } from 'flowtype'; import type { Action } from 'flowtype';
import type { import type {
Web3UpdateBlockAction, Web3UpdateBlockAction,
Web3UpdateGasPriceAction, Web3UpdateGasPriceAction,
} from '../actions/Web3Actions'; } from 'actions/Web3Actions';
export type Web3Instance = { export type Web3Instance = {
network: string; network: string;

View File

@ -3,7 +3,7 @@
import { JSONRequest, httpRequest } from '../utils/networkUtils'; import { JSONRequest, httpRequest } from '../utils/networkUtils';
import { resolveAfter } from '../utils/promiseUtils'; import { resolveAfter } from '../utils/promiseUtils';
import { READY } from '../actions/constants/localStorage'; import { READY } from 'actions/constants/localStorage';
import type { import type {
Middleware, Middleware,

View File

@ -3,17 +3,17 @@
import { DEVICE } from 'trezor-connect'; import { DEVICE } from 'trezor-connect';
import { LOCATION_CHANGE } from 'react-router-redux'; import { LOCATION_CHANGE } from 'react-router-redux';
import * as LocalStorageActions from '../actions/LocalStorageActions'; import * as LocalStorageActions from 'actions/LocalStorageActions';
import * as WalletActions from '../actions/WalletActions'; import * as WalletActions from 'actions/WalletActions';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as MODAL from '../actions/constants/modal'; import * as MODAL from 'actions/constants/modal';
import * as TOKEN from '../actions/constants/token'; import * as TOKEN from 'actions/constants/token';
import * as ACCOUNT from '../actions/constants/account'; import * as ACCOUNT from 'actions/constants/account';
import * as DISCOVERY from '../actions/constants/discovery'; import * as DISCOVERY from 'actions/constants/discovery';
import * as SEND from '../actions/constants/send'; import * as SEND from 'actions/constants/send';
import * as WEB3 from '../actions/constants/web3'; import * as WEB3 from 'actions/constants/web3';
import * as PENDING from '../actions/constants/pendingTx'; import * as PENDING from 'actions/constants/pendingTx';
import { findAccountTokens } from '../reducers/TokensReducer'; import { findAccountTokens } from '../reducers/TokensReducer';
import type { import type {

View File

@ -1,10 +1,10 @@
/* @flow */ /* @flow */
import * as LogActions from '../actions/LogActions'; import * as LogActions from 'actions/LogActions';
import * as STORAGE from '../actions/constants/localStorage'; import * as STORAGE from 'actions/constants/localStorage';
import * as SEND from '../actions/constants/send'; import * as SEND from 'actions/constants/send';
import { OPEN, CLOSE, ADD } from '../actions/constants/log'; import { OPEN, CLOSE, ADD } from 'actions/constants/log';
import { TRANSPORT, DEVICE } from 'trezor-connect'; import { TRANSPORT, DEVICE } from 'trezor-connect';
import type { import type {

View File

@ -3,9 +3,9 @@
import { DEVICE } from 'trezor-connect'; import { DEVICE } from 'trezor-connect';
import { LOCATION_CHANGE, push, replace } from 'react-router-redux'; import { LOCATION_CHANGE, push, replace } from 'react-router-redux';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import * as NotificationActions from '../actions/NotificationActions'; import * as NotificationActions from 'actions/NotificationActions';
import type { import type {
Middleware, Middleware,

View File

@ -6,15 +6,15 @@ import { push } from 'react-router-redux';
import TrezorConnect, { import TrezorConnect, {
TRANSPORT, DEVICE_EVENT, UI_EVENT, UI, DEVICE, TRANSPORT, DEVICE_EVENT, UI_EVENT, UI, DEVICE,
} from 'trezor-connect'; } from 'trezor-connect';
import * as TrezorConnectActions from '../actions/TrezorConnectActions'; import * as TrezorConnectActions from 'actions/TrezorConnectActions';
import * as DiscoveryActions from '../actions/DiscoveryActions'; import * as DiscoveryActions from 'actions/DiscoveryActions';
import * as ModalActions from '../actions/ModalActions'; import * as ModalActions from 'actions/ModalActions';
import { init as initWeb3 } from '../actions/Web3Actions'; import { init as initWeb3 } from 'actions/Web3Actions';
import * as WEB3 from '../actions/constants/web3'; import * as WEB3 from 'actions/constants/web3';
import * as STORAGE from '../actions/constants/localStorage'; import * as STORAGE from 'actions/constants/localStorage';
import * as CONNECT from '../actions/constants/TrezorConnect'; import * as CONNECT from 'actions/constants/TrezorConnect';
import * as NOTIFICATION from '../actions/constants/notification'; import * as NOTIFICATION from 'actions/constants/notification';
import * as MODAL from '../actions/constants/modal'; import * as MODAL from 'actions/constants/modal';
import type { import type {
Middleware, Middleware,

View File

@ -3,12 +3,12 @@
import { DEVICE } from 'trezor-connect'; import { DEVICE } from 'trezor-connect';
import { LOCATION_CHANGE } from 'react-router-redux'; import { LOCATION_CHANGE } from 'react-router-redux';
import * as WALLET from '../actions/constants/wallet'; import * as WALLET from 'actions/constants/wallet';
import * as WalletActions from '../actions/WalletActions'; import * as WalletActions from 'actions/WalletActions';
import * as LocalStorageActions from '../actions/LocalStorageActions'; import * as LocalStorageActions from 'actions/LocalStorageActions';
import * as TrezorConnectActions from '../actions/TrezorConnectActions'; import * as TrezorConnectActions from 'actions/TrezorConnectActions';
import * as SelectedAccountActions from '../actions/SelectedAccountActions'; import * as SelectedAccountActions from 'actions/SelectedAccountActions';
import type { import type {
Middleware, Middleware,