diff options
author | Soreine <nicolas@gitbook.com> | 2016-12-02 15:58:25 +0100 |
---|---|---|
committer | Soreine <nicolas@gitbook.com> | 2016-12-02 15:58:25 +0100 |
commit | be8b11dcb4fd896af2dfc1e6d3b455309c12ba3b (patch) | |
tree | 2eec4ffe2e6269fd4f3908d8b359440a34585c86 | |
parent | 1780435c4fee7e3a6c5aa79e788214a5b6ca8493 (diff) | |
download | gitbook-be8b11dcb4fd896af2dfc1e6d3b455309c12ba3b.zip gitbook-be8b11dcb4fd896af2dfc1e6d3b455309c12ba3b.tar.gz gitbook-be8b11dcb4fd896af2dfc1e6d3b455309c12ba3b.tar.bz2 |
ReactInjection was moved
-rw-r--r-- | packages/gitbook-core/src/components/HTMLContent.js | 2 |
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 |