diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-11-03 03:43:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-03 03:43:53 +0800 |
commit | ec83a1d9e735573fe51df7a5854424c0ad4101fb (patch) | |
tree | f28def28bee9925daf8dd859b750c94c0cd83f98 /packages/instant/src/redux/reducer.ts | |
parent | e7e9c2a2ebf32ed96e859c9c50a5c9614e372bc7 (diff) | |
parent | b895b855cbb555736be838e2630890ab6a69d884 (diff) | |
download | dexon-sol-tools-ec83a1d9e735573fe51df7a5854424c0ad4101fb.tar dexon-sol-tools-ec83a1d9e735573fe51df7a5854424c0ad4101fb.tar.gz dexon-sol-tools-ec83a1d9e735573fe51df7a5854424c0ad4101fb.tar.bz2 dexon-sol-tools-ec83a1d9e735573fe51df7a5854424c0ad4101fb.tar.lz dexon-sol-tools-ec83a1d9e735573fe51df7a5854424c0ad4101fb.tar.xz dexon-sol-tools-ec83a1d9e735573fe51df7a5854424c0ad4101fb.tar.zst dexon-sol-tools-ec83a1d9e735573fe51df7a5854424c0ad4101fb.zip |
Merge pull request #1207 from 0xProject/feature/instant/affiliate-fee
[instant][asset-buyer] Implement affiliateInfo prop
Diffstat (limited to 'packages/instant/src/redux/reducer.ts')
-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 => { |