summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoreine <nicolas@gitbook.com>2016-12-02 15:58:25 +0100
committerSoreine <nicolas@gitbook.com>2016-12-02 15:58:25 +0100
commitbe8b11dcb4fd896af2dfc1e6d3b455309c12ba3b (patch)
tree2eec4ffe2e6269fd4f3908d8b359440a34585c86
parent1780435c4fee7e3a6c5aa79e788214a5b6ca8493 (diff)
downloadgitbook-be8b11dcb4fd896af2dfc1e6d3b455309c12ba3b.zip
gitbook-be8b11dcb4fd896af2dfc1e6d3b455309c12ba3b.tar.gz
gitbook-be8b11dcb4fd896af2dfc1e6d3b455309c12ba3b.tar.bz2
ReactInjection was moved
-rw-r--r--packages/gitbook-core/src/components/HTMLContent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-core/src/components/HTMLContent.js b/packages/gitbook-core/src/components/HTMLContent.js
index 75da884..9d15398 100644
--- a/packages/gitbook-core/src/components/HTMLContent.js
+++ b/packages/gitbook-core/src/components/HTMLContent.js
@@ -1,11 +1,11 @@
const React = require('react');
const ReactSafeHtml = require('react-safe-html');
+const { DOMProperty } = require('react-dom/lib/ReactInjection');
const htmlTags = require('html-tags');
const entities = require('entities');
const { InjectedComponent } = require('./InjectedComponent');
-const DOMProperty = require('react/lib/ReactInjection').DOMProperty;
DOMProperty.injectDOMPropertyConfig({
Properties: {
align: DOMProperty.MUST_USE_ATTRIBUTE