diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 06:11:06 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 06:11:06 +0800 |
commit | f4cc14f43862c639d2cf9f6e5359e4822f1bcacf (patch) | |
tree | 02d2d8e4e2851145053f0e3ee0dd0d353d0e3efa /packages/instant/src/util/heartbeater_factory.ts | |
parent | ca894935f269a385f28e5d3a51720282ab403697 (diff) | |
download | dexon-0x-contracts-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar dexon-0x-contracts-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.gz dexon-0x-contracts-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.bz2 dexon-0x-contracts-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.lz dexon-0x-contracts-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.xz dexon-0x-contracts-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.zst dexon-0x-contracts-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.zip |
QuoteFetchedVia -> QuoteFetchOrigin
Diffstat (limited to 'packages/instant/src/util/heartbeater_factory.ts')
-rw-r--r-- | packages/instant/src/util/heartbeater_factory.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/util/heartbeater_factory.ts b/packages/instant/src/util/heartbeater_factory.ts index bf9e4291f..84aeb4dbc 100644 --- a/packages/instant/src/util/heartbeater_factory.ts +++ b/packages/instant/src/util/heartbeater_factory.ts @@ -1,6 +1,6 @@ import { asyncData } from '../redux/async_data'; import { Store } from '../redux/store'; -import { QuoteFetchedVia } from '../types'; +import { QuoteFetchOrigin } from '../types'; import { Heartbeater } from './heartbeater'; @@ -20,7 +20,7 @@ export const generateBuyQuoteHeartbeater = (options: HeartbeatFactoryOptions): H return new Heartbeater(async () => { await asyncData.fetchCurrentBuyQuoteAndDispatchToStore(store.getState(), store.dispatch, { updateSilently: true, - fetchedVia: QuoteFetchedVia.Heartbeat, + fetchedVia: QuoteFetchOrigin.Heartbeat, }); }, shouldPerformImmediatelyOnStart); }; |