diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-22 02:47:31 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-22 02:47:31 +0800 |
commit | 921d9d7ed5a549878b3a9130a99b9cbe2ae11903 (patch) | |
tree | ee20d3005850619160e7dc985736e47813c4af68 /packages/instant/src/components/zero_ex_instant_provider.tsx | |
parent | b2e1be5cfe373f7cdafd5bd9a0c3ec1ea1e5f1d5 (diff) | |
parent | 68c15de8908b1e8eb8f04d26301fec62ed2af1c1 (diff) | |
download | dexon-0x-contracts-921d9d7ed5a549878b3a9130a99b9cbe2ae11903.tar.gz dexon-0x-contracts-921d9d7ed5a549878b3a9130a99b9cbe2ae11903.tar.zst dexon-0x-contracts-921d9d7ed5a549878b3a9130a99b9cbe2ae11903.zip |
Merge branch 'development' into feature/instant/rollbar-env
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_provider.tsx')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_provider.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx index 00d3e95b2..1f53f2d96 100644 --- a/packages/instant/src/components/zero_ex_instant_provider.tsx +++ b/packages/instant/src/components/zero_ex_instant_provider.tsx @@ -21,9 +21,6 @@ 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 & Partial<ZeroExInstantProviderOptionalProps>; @@ -90,6 +87,8 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider } constructor(props: ZeroExInstantProviderProps) { super(props); + setupRollbar(); + fonts.include(); const initialAppState = ZeroExInstantProvider._mergeDefaultStateWithProps(this.props); this._store = store.create(initialAppState); } |