aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/zero_ex_instant_provider.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-22 01:35:24 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-22 01:35:24 +0800
commit22a31246622e7139185d080cae9bef275087e245 (patch)
treef61c7dae09567e2d70b8d76909eff90017c4ecc1 /packages/instant/src/components/zero_ex_instant_provider.tsx
parent35b505114842b8c8eac838fff8588adf17f54b45 (diff)
downloaddexon-0x-contracts-22a31246622e7139185d080cae9bef275087e245.tar.gz
dexon-0x-contracts-22a31246622e7139185d080cae9bef275087e245.tar.zst
dexon-0x-contracts-22a31246622e7139185d080cae9bef275087e245.zip
Move rollbar setup into function, move setting up into provider
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_provider.tsx')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx
index 9435d8c7c..00d3e95b2 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -15,11 +15,13 @@ import { AccountState, AffiliateInfo, AssetMetaData, Network, OrderSource } from
import { analytics, disableAnalytics } from '../util/analytics';
import { assetUtils } from '../util/asset';
import { errorFlasher } from '../util/error_flasher';
+import { setupRollbar } from '../util/error_reporter';
import { gasPriceEstimator } from '../util/gas_price_estimator';
import { Heartbeater } from '../util/heartbeater';
import { generateAccountHeartbeater, generateBuyQuoteHeartbeater } from '../util/heartbeater_factory';
import { providerStateFactory } from '../util/provider_state_factory';
+setupRollbar();
fonts.include();
export type ZeroExInstantProviderProps = ZeroExInstantProviderRequiredProps &