summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-13 00:18:47 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-13 00:18:47 +0200
commitba56801352359e606e261b1fc066af4e394c47c9 (patch)
tree20c26cfd18f30858baf7527f3720e9011e3b6f57 /packages/gitbook-core/src
parent48ee0e35b0a9f77cfc66b2ec35a45e487020c847 (diff)
downloadgitbook-ba56801352359e606e261b1fc066af4e394c47c9.zip
gitbook-ba56801352359e606e261b1fc066af4e394c47c9.tar.gz
gitbook-ba56801352359e606e261b1fc066af4e394c47c9.tar.bz2
Add base for new fontsettings plugin
Diffstat (limited to 'packages/gitbook-core/src')
-rw-r--r--packages/gitbook-core/src/components/InjectedComponent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-core/src/components/InjectedComponent.js b/packages/gitbook-core/src/components/InjectedComponent.js
index ca6e0b0..f02516c 100644
--- a/packages/gitbook-core/src/components/InjectedComponent.js
+++ b/packages/gitbook-core/src/components/InjectedComponent.js
@@ -54,7 +54,7 @@ const InjectedComponentSet = React.createClass({
render() {
const { components, props, ...divProps } = this.props;
- const inner = components.map(Comp => <Injection key={Comp.displayName} component={Comp} props={props} />);
+ const inner = components.map((Comp, i) => <Injection key={i} component={Comp} props={props} />);
return (
<div {...divProps}>