aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-09 09:20:15 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-09 09:20:15 +0800
commit3dacc6157bb7a70db9a281689c1af27ccc7c446f (patch)
treec06a649162febf5887eeea0e8106c6a320594de7 /packages/instant/src/util
parentfd12bdbbd5eb52af4758fd3821c6e09617f2ecb3 (diff)
downloaddexon-sol-tools-3dacc6157bb7a70db9a281689c1af27ccc7c446f.tar
dexon-sol-tools-3dacc6157bb7a70db9a281689c1af27ccc7c446f.tar.gz
dexon-sol-tools-3dacc6157bb7a70db9a281689c1af27ccc7c446f.tar.bz2
dexon-sol-tools-3dacc6157bb7a70db9a281689c1af27ccc7c446f.tar.lz
dexon-sol-tools-3dacc6157bb7a70db9a281689c1af27ccc7c446f.tar.xz
dexon-sol-tools-3dacc6157bb7a70db9a281689c1af27ccc7c446f.tar.zst
dexon-sol-tools-3dacc6157bb7a70db9a281689c1af27ccc7c446f.zip
Remove unneeded Promise.resolve
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r--packages/instant/src/util/heartbeater_factory.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/instant/src/util/heartbeater_factory.ts b/packages/instant/src/util/heartbeater_factory.ts
index fc33787ee..9fac9cf4c 100644
--- a/packages/instant/src/util/heartbeater_factory.ts
+++ b/packages/instant/src/util/heartbeater_factory.ts
@@ -13,6 +13,5 @@ export const generateAccountHeartbeater = (store: Store): Heartbeater => {
export const generateBuyQuoteHeartbeater = (store: Store): Heartbeater => {
return new Heartbeater(async () => {
await updateBuyQuoteOrFlashErrorAsyncForState(store.getState(), store.dispatch);
- return Promise.resolve();
});
};