diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-30 05:33:55 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 04:24:24 +0800 |
commit | 82a01ef0200571d7e9079647d6b70d2d25e6ce05 (patch) | |
tree | 99401fa4bd6f5cf23b9a4be8d09fdab79bf10b06 /packages/website/ts/redux/dispatcher.ts | |
parent | 81ba2a8411abc84ab052a65e1c674af44b8cf746 (diff) | |
download | dexon-sol-tools-82a01ef0200571d7e9079647d6b70d2d25e6ce05.tar dexon-sol-tools-82a01ef0200571d7e9079647d6b70d2d25e6ce05.tar.gz dexon-sol-tools-82a01ef0200571d7e9079647d6b70d2d25e6ce05.tar.bz2 dexon-sol-tools-82a01ef0200571d7e9079647d6b70d2d25e6ce05.tar.lz dexon-sol-tools-82a01ef0200571d7e9079647d6b70d2d25e6ce05.tar.xz dexon-sol-tools-82a01ef0200571d7e9079647d6b70d2d25e6ce05.tar.zst dexon-sol-tools-82a01ef0200571d7e9079647d6b70d2d25e6ce05.zip |
Initial changes for v2 portal
Diffstat (limited to 'packages/website/ts/redux/dispatcher.ts')
-rw-r--r-- | packages/website/ts/redux/dispatcher.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/website/ts/redux/dispatcher.ts b/packages/website/ts/redux/dispatcher.ts index db008d319..5e79b6518 100644 --- a/packages/website/ts/redux/dispatcher.ts +++ b/packages/website/ts/redux/dispatcher.ts @@ -7,7 +7,7 @@ import { AssetToken, BlockchainErrs, Language, - Order, + PortalOrder, ProviderType, ScreenWidths, Side, @@ -50,7 +50,7 @@ export class Dispatcher { type: ActionTypes.UpdateOrderSalt, }); } - public updateUserSuppliedOrderCache(order: Order): void { + public updateUserSuppliedOrderCache(order: PortalOrder): void { this._dispatch({ data: order, type: ActionTypes.UpdateUserSuppliedOrderCache, @@ -149,10 +149,10 @@ export class Dispatcher { type: ActionTypes.ForceTokenStateRefetch, }); } - public updateECSignature(ecSignature: ECSignature): void { + public updateSignature(signature: string): void { this._dispatch({ - data: ecSignature, - type: ActionTypes.UpdateOrderECSignature, + data: signature, + type: ActionTypes.UpdateOrderSignature, }); } public updateUserWeiBalance(balance?: BigNumber): void { |