aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-11-21 22:38:21 +0800
committerGitHub <noreply@github.com>2018-11-21 22:38:21 +0800
commitf66b695a470af8bd87fda017384e3059e66b10d8 (patch)
treebfd765a7d5f8b5f4fb8f19d32c47f4c4b5828263 /packages/instant/src
parenta8803431b3e339552c989d7567bf6241f39a2bdf (diff)
parent6de499459cb29f74cabd91c441f85e4c2325a6d7 (diff)
downloaddexon-sol-tools-f66b695a470af8bd87fda017384e3059e66b10d8.tar
dexon-sol-tools-f66b695a470af8bd87fda017384e3059e66b10d8.tar.gz
dexon-sol-tools-f66b695a470af8bd87fda017384e3059e66b10d8.tar.bz2
dexon-sol-tools-f66b695a470af8bd87fda017384e3059e66b10d8.tar.lz
dexon-sol-tools-f66b695a470af8bd87fda017384e3059e66b10d8.tar.xz
dexon-sol-tools-f66b695a470af8bd87fda017384e3059e66b10d8.tar.zst
dexon-sol-tools-f66b695a470af8bd87fda017384e3059e66b10d8.zip
Merge pull request #1283 from 0xProject/feature/instant/make-instant-public-and-fix-publishing
[instant] Make package public and fix publishing
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx3
1 files changed, 1 insertions, 2 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..9814aabf8 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -20,8 +20,6 @@ import { Heartbeater } from '../util/heartbeater';
import { generateAccountHeartbeater, generateBuyQuoteHeartbeater } from '../util/heartbeater_factory';
import { providerStateFactory } from '../util/provider_state_factory';
-fonts.include();
-
export type ZeroExInstantProviderProps = ZeroExInstantProviderRequiredProps &
Partial<ZeroExInstantProviderOptionalProps>;
@@ -88,6 +86,7 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
}
constructor(props: ZeroExInstantProviderProps) {
super(props);
+ fonts.include();
const initialAppState = ZeroExInstantProvider._mergeDefaultStateWithProps(this.props);
this._store = store.create(initialAppState);
}