diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-06 22:26:04 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-06 22:26:04 +0800 |
commit | cf8fdd3a701f21bfc3b2ec8397fa65948f5cdc78 (patch) | |
tree | 1ab6a8d6b8588707286fc56a632dca9ceca7e7ac /packages/website/ts/components/wallet | |
parent | af1d5fce6ea355b12bf5f63f51ea81ff596f7868 (diff) | |
download | dexon-0x-contracts-cf8fdd3a701f21bfc3b2ec8397fa65948f5cdc78.tar.gz dexon-0x-contracts-cf8fdd3a701f21bfc3b2ec8397fa65948f5cdc78.tar.zst dexon-0x-contracts-cf8fdd3a701f21bfc3b2ec8397fa65948f5cdc78.zip |
Move spawnSwitchErr to @0xproject/utils
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index 37233930e..5ad7602a6 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -4,7 +4,7 @@ import { Styles, utils as sharedUtils, } from '@0xproject/react-shared'; -import { BigNumber } from '@0xproject/utils'; +import { BigNumber, errorUtils } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; import CircularProgress from 'material-ui/CircularProgress'; @@ -500,7 +500,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> { buttonIconName = 'zmdi-long-arrow-up'; break; default: - throw utils.spawnSwitchErr('wrappedEtherDirection', wrappedEtherDirection); + throw errorUtils.spawnSwitchErr('wrappedEtherDirection', wrappedEtherDirection); } } const onClick = isWrappedEtherDirectionOpen |