diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-11-02 09:24:32 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-11-03 01:57:24 +0800 |
commit | 5e66cc8a40759658a8763f85996163e5ae013fcd (patch) | |
tree | ea397e40f9c438c8598538f00d3ef0c8bb02e237 /packages/instant/src/redux | |
parent | 4fda2a2d049843db7f87b930321c11c910e40ea3 (diff) | |
download | dexon-sol-tools-5e66cc8a40759658a8763f85996163e5ae013fcd.tar dexon-sol-tools-5e66cc8a40759658a8763f85996163e5ae013fcd.tar.gz dexon-sol-tools-5e66cc8a40759658a8763f85996163e5ae013fcd.tar.bz2 dexon-sol-tools-5e66cc8a40759658a8763f85996163e5ae013fcd.tar.lz dexon-sol-tools-5e66cc8a40759658a8763f85996163e5ae013fcd.tar.xz dexon-sol-tools-5e66cc8a40759658a8763f85996163e5ae013fcd.tar.zst dexon-sol-tools-5e66cc8a40759658a8763f85996163e5ae013fcd.zip |
feat(instant): implement affiliateFeeInfo prop
Diffstat (limited to 'packages/instant/src/redux')
-rw-r--r-- | packages/instant/src/redux/reducer.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts index cf24f8488..d1537b49b 100644 --- a/packages/instant/src/redux/reducer.ts +++ b/packages/instant/src/redux/reducer.ts @@ -6,6 +6,7 @@ import * as _ from 'lodash'; import { assetMetaDataMap } from '../data/asset_meta_data_map'; import { + AffiliateInfo, Asset, AssetMetaData, AsyncProcessState, @@ -31,6 +32,7 @@ export interface State { quoteRequestState: AsyncProcessState; latestErrorMessage?: string; latestErrorDisplayStatus: DisplayStatus; + affiliateInfo?: AffiliateInfo; } export const INITIAL_STATE: State = { @@ -43,6 +45,7 @@ export const INITIAL_STATE: State = { latestErrorMessage: undefined, latestErrorDisplayStatus: DisplayStatus.Hidden, quoteRequestState: AsyncProcessState.NONE, + affiliateInfo: undefined, }; export const reducer = (state: State = INITIAL_STATE, action: Action): State => { |