diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-19 04:42:59 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-19 04:42:59 +0800 |
commit | 9aa67538231cc4ff71fd0f8ebe4dc66b1bcc4937 (patch) | |
tree | 5cd2380ffc18a28ff9e5a68a0747872ed920ac2d /packages/instant/src/redux/reducer.ts | |
parent | 94ace00e0cfd550bccf33f85441ce1dad33f1348 (diff) | |
download | dexon-0x-contracts-9aa67538231cc4ff71fd0f8ebe4dc66b1bcc4937.tar.gz dexon-0x-contracts-9aa67538231cc4ff71fd0f8ebe4dc66b1bcc4937.tar.zst dexon-0x-contracts-9aa67538231cc4ff71fd0f8ebe4dc66b1bcc4937.zip |
Rename update function to set function since it doesnt take a parameter
Diffstat (limited to 'packages/instant/src/redux/reducer.ts')
-rw-r--r-- | packages/instant/src/redux/reducer.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/redux/reducer.ts b/packages/instant/src/redux/reducer.ts index d2256ef54..6c278099f 100644 --- a/packages/instant/src/redux/reducer.ts +++ b/packages/instant/src/redux/reducer.ts @@ -52,13 +52,13 @@ export const reducer = (state: State = INITIAL_STATE, action: Action): State => latestBuyQuote: action.data, quoteRequestState: AsyncProcessState.SUCCESS, }; - case ActionTypes.UPDATE_BUY_QUOTE_STATE_PENDING: + case ActionTypes.SET_QUOTE_REQUEST_STATE_PENDING: return { ...state, latestBuyQuote: undefined, quoteRequestState: AsyncProcessState.PENDING, }; - case ActionTypes.UPDATE_BUY_QUOTE_STATE_FAILURE: + case ActionTypes.SET_QUOTE_REQUEST_STATE_FAILURE: return { ...state, latestBuyQuote: undefined, |