diff options
author | Steve Klebanoff <steve@0xproject.com> | 2018-10-20 03:28:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 03:28:52 +0800 |
commit | aeb607d485862fd44f846214d6d98058e30a19d7 (patch) | |
tree | d109b232bd8c94376724c78880c387018af0e2fa /packages/instant/src/redux/actions.ts | |
parent | c66e2f6704349df5ed76f3ecf8ac74d677c358c3 (diff) | |
parent | c070142dc02e97a3512cf8db189f5fffc9eb469a (diff) | |
download | dexon-0x-contracts-aeb607d485862fd44f846214d6d98058e30a19d7.tar dexon-0x-contracts-aeb607d485862fd44f846214d6d98058e30a19d7.tar.gz dexon-0x-contracts-aeb607d485862fd44f846214d6d98058e30a19d7.tar.bz2 dexon-0x-contracts-aeb607d485862fd44f846214d6d98058e30a19d7.tar.lz dexon-0x-contracts-aeb607d485862fd44f846214d6d98058e30a19d7.tar.xz dexon-0x-contracts-aeb607d485862fd44f846214d6d98058e30a19d7.tar.zst dexon-0x-contracts-aeb607d485862fd44f846214d6d98058e30a19d7.zip |
Merge pull request #1161 from 0xProject/feature/instant/order-details-loading-state
[instant] Order details loading state
Diffstat (limited to 'packages/instant/src/redux/actions.ts')
-rw-r--r-- | packages/instant/src/redux/actions.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/instant/src/redux/actions.ts b/packages/instant/src/redux/actions.ts index 9c154c66f..e52a79e76 100644 --- a/packages/instant/src/redux/actions.ts +++ b/packages/instant/src/redux/actions.ts @@ -25,8 +25,8 @@ export enum ActionTypes { UPDATE_SELECTED_ASSET_AMOUNT = 'UPDATE_SELECTED_ASSET_AMOUNT', UPDATE_SELECTED_ASSET_BUY_STATE = 'UPDATE_SELECTED_ASSET_BUY_STATE', UPDATE_LATEST_BUY_QUOTE = 'UPDATE_LATEST_BUY_QUOTE', - UPDATE_BUY_QUOTE_STATE_PENDING = 'UPDATE_BUY_QUOTE_STATE_PENDING', - UPDATE_BUY_QUOTE_STATE_FAILURE = 'UPDATE_BUY_QUOTE_STATE_FAILURE', + SET_QUOTE_REQUEST_STATE_PENDING = 'SET_QUOTE_REQUEST_STATE_PENDING', + SET_QUOTE_REQUEST_STATE_FAILURE = 'SET_QUOTE_REQUEST_STATE_FAILURE', SET_ERROR = 'SET_ERROR', HIDE_ERROR = 'HIDE_ERROR', CLEAR_ERROR = 'CLEAR_ERROR', @@ -35,11 +35,11 @@ export enum ActionTypes { export const actions = { updateEthUsdPrice: (price?: BigNumber) => createAction(ActionTypes.UPDATE_ETH_USD_PRICE, price), updateSelectedAssetAmount: (amount?: BigNumber) => createAction(ActionTypes.UPDATE_SELECTED_ASSET_AMOUNT, amount), - updatebuyOrderState: (buyState: AsyncProcessState) => + updateBuyOrderState: (buyState: AsyncProcessState) => createAction(ActionTypes.UPDATE_SELECTED_ASSET_BUY_STATE, buyState), updateLatestBuyQuote: (buyQuote?: BuyQuote) => createAction(ActionTypes.UPDATE_LATEST_BUY_QUOTE, buyQuote), - updateBuyQuoteStatePending: () => createAction(ActionTypes.UPDATE_BUY_QUOTE_STATE_PENDING), - updateBuyQuoteStateFailure: () => createAction(ActionTypes.UPDATE_BUY_QUOTE_STATE_FAILURE), + setQuoteRequestStatePending: () => createAction(ActionTypes.SET_QUOTE_REQUEST_STATE_PENDING), + setQuoteRequestStateFailure: () => createAction(ActionTypes.SET_QUOTE_REQUEST_STATE_FAILURE), setError: (error?: any) => createAction(ActionTypes.SET_ERROR, error), hideError: () => createAction(ActionTypes.HIDE_ERROR), clearError: () => createAction(ActionTypes.CLEAR_ERROR), |