aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/redux
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 23:11:51 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 23:11:51 +0800
commit3c7ebe2697f728b6f90d837cc202e5c1ed1a2182 (patch)
tree2d1656781c3ed7ab29adcc542860b8e2ff6220c0 /packages/website/ts/redux
parent10fb6061ccf66bd117ba13ea2ed1cfe7373096d0 (diff)
downloaddexon-sol-tools-3c7ebe2697f728b6f90d837cc202e5c1ed1a2182.tar.gz
dexon-sol-tools-3c7ebe2697f728b6f90d837cc202e5c1ed1a2182.tar.zst
dexon-sol-tools-3c7ebe2697f728b6f90d837cc202e5c1ed1a2182.zip
Remove unused types and take their names
Diffstat (limited to 'packages/website/ts/redux')
-rw-r--r--packages/website/ts/redux/dispatcher.ts4
-rw-r--r--packages/website/ts/redux/reducer.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/redux/dispatcher.ts b/packages/website/ts/redux/dispatcher.ts
index ba54347b1..87415b285 100644
--- a/packages/website/ts/redux/dispatcher.ts
+++ b/packages/website/ts/redux/dispatcher.ts
@@ -5,9 +5,9 @@ import {
ActionTypes,
AssetToken,
BlockchainErrs,
+ Order,
ProviderType,
ScreenWidths,
- SerializedOrder,
Side,
SideToAssetToken,
SignatureData,
@@ -49,7 +49,7 @@ export class Dispatcher {
type: ActionTypes.UpdateOrderSalt,
});
}
- public updateUserSuppliedOrderCache(order: SerializedOrder) {
+ public updateUserSuppliedOrderCache(order: Order) {
this._dispatch({
data: order,
type: ActionTypes.UpdateUserSuppliedOrderCache,
diff --git a/packages/website/ts/redux/reducer.ts b/packages/website/ts/redux/reducer.ts
index 8c640fdb7..7b0b03dae 100644
--- a/packages/website/ts/redux/reducer.ts
+++ b/packages/website/ts/redux/reducer.ts
@@ -6,9 +6,9 @@ import {
Action,
ActionTypes,
BlockchainErrs,
+ Order,
ProviderType,
ScreenWidths,
- SerializedOrder,
Side,
SideToAssetToken,
SignatureData,
@@ -40,7 +40,7 @@ export interface State {
userAddress: string;
userEtherBalance: BigNumber;
// Note: cache of supplied orderJSON in fill order step. Do not use for anything else.
- userSuppliedOrderCache: SerializedOrder;
+ userSuppliedOrderCache: Order;
// Docs
docsVersion: string;