aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/redux
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-28 11:38:09 +0800
committerFabio Berger <me@fabioberger.com>2017-11-28 11:38:09 +0800
commit0a19ba3014ac68c1c94fcb376bc1ddb5081db757 (patch)
tree0f7a8572c1fb6172b3f0474dd6e6356f569f8760 /packages/website/ts/redux
parent88bd0f5328863141564faf2718118594732b66ca (diff)
downloaddexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.gz
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.bz2
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.lz
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.xz
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.tar.zst
dexon-sol-tools-0a19ba3014ac68c1c94fcb376bc1ddb5081db757.zip
Fix tslint issues
Diffstat (limited to 'packages/website/ts/redux')
-rw-r--r--packages/website/ts/redux/dispatcher.ts14
-rw-r--r--packages/website/ts/redux/reducer.ts22
2 files changed, 18 insertions, 18 deletions
diff --git a/packages/website/ts/redux/dispatcher.ts b/packages/website/ts/redux/dispatcher.ts
index 566ab8a01..a0a1da21b 100644
--- a/packages/website/ts/redux/dispatcher.ts
+++ b/packages/website/ts/redux/dispatcher.ts
@@ -1,20 +1,20 @@
+import BigNumber from 'bignumber.js';
import {Dispatch} from 'redux';
import {State} from 'ts/redux/reducer';
import {
- Direction,
- Side,
+ ActionTypes,
AssetToken,
BlockchainErrs,
- Token,
- SignatureData,
+ Direction,
Fill,
Order,
- ActionTypes,
- ScreenWidths,
ProviderType,
+ ScreenWidths,
+ Side,
+ SignatureData,
+ Token,
TokenStateByAddress,
} from 'ts/types';
-import BigNumber from 'bignumber.js';
export class Dispatcher {
private dispatch: Dispatch<State>;
diff --git a/packages/website/ts/redux/reducer.ts b/packages/website/ts/redux/reducer.ts
index 7723597cd..da69a9d00 100644
--- a/packages/website/ts/redux/reducer.ts
+++ b/packages/website/ts/redux/reducer.ts
@@ -1,23 +1,23 @@
-import * as _ from 'lodash';
import {ZeroEx} from '0x.js';
import BigNumber from 'bignumber.js';
-import {utils} from 'ts/utils/utils';
+import * as _ from 'lodash';
import {
+ Action,
+ ActionTypes,
+ BlockchainErrs,
+ Direction,
GenerateOrderSteps,
+ Order,
+ ProviderType,
+ ScreenWidths,
Side,
SideToAssetToken,
- Direction,
- BlockchainErrs,
SignatureData,
TokenByAddress,
- TokenStateByAddress,
- Order,
- Action,
- ActionTypes,
- ScreenWidths,
- ProviderType,
TokenState,
+ TokenStateByAddress,
} from 'ts/types';
+import {utils} from 'ts/utils/utils';
// Instead of defaulting the docs version to an empty string, we pre-populate it with
// a valid version value. This does not need to be updated however, since onLoad, it
@@ -54,7 +54,7 @@ export interface State {
flashMessage: string|React.ReactNode;
providerType: ProviderType;
injectedProviderName: string;
-};
+}
const INITIAL_STATE: State = {
// Portal