aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 03:28:08 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 03:28:08 +0800
commit36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed (patch)
treeb08cb0540bfeb9d75dbbadbd6be4c582271c7204 /packages/instant/src/util
parent474db7c18de63429f72511796291ff135c77f10b (diff)
downloaddexon-sol-tools-36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed.tar
dexon-sol-tools-36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed.tar.gz
dexon-sol-tools-36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed.tar.bz2
dexon-sol-tools-36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed.tar.lz
dexon-sol-tools-36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed.tar.xz
dexon-sol-tools-36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed.tar.zst
dexon-sol-tools-36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed.zip
Use interface like named parameters here
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r--packages/instant/src/util/heartbeater_factory.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/util/heartbeater_factory.ts b/packages/instant/src/util/heartbeater_factory.ts
index 0feb05422..805483b71 100644
--- a/packages/instant/src/util/heartbeater_factory.ts
+++ b/packages/instant/src/util/heartbeater_factory.ts
@@ -10,7 +10,7 @@ export interface HeartbeatFactoryOptions {
export const generateAccountHeartbeater = (options: HeartbeatFactoryOptions): Heartbeater => {
const { store, performImmediatelyOnStart } = options;
return new Heartbeater(async () => {
- await asyncData.fetchAccountInfoAndDispatchToStore(store, { setLoading: false });
+ await asyncData.fetchAccountInfoAndDispatchToStore({ store, setLoading: false });
}, performImmediatelyOnStart);
};