summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src/lib
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-17 18:24:29 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-17 18:24:29 +0200
commit373a486a1456fdb8d0bbb96463e633fa34ef4a9c (patch)
treeaede2c57b027de306858877ed14d3dde389e93b6 /packages/gitbook-core/src/lib
parentf262a7cd89d0d555c27bf3a25bb2054a5af1e7fd (diff)
downloadgitbook-373a486a1456fdb8d0bbb96463e633fa34ef4a9c.zip
gitbook-373a486a1456fdb8d0bbb96463e633fa34ef4a9c.tar.gz
gitbook-373a486a1456fdb8d0bbb96463e633fa34ef4a9c.tar.bz2
Replace GitBook.Shapes by GitBook.PropTypes
Diffstat (limited to 'packages/gitbook-core/src/lib')
-rw-r--r--packages/gitbook-core/src/lib/connect.js2
-rw-r--r--packages/gitbook-core/src/lib/renderWithContext.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-core/src/lib/connect.js b/packages/gitbook-core/src/lib/connect.js
index 2f2a212..a34299d 100644
--- a/packages/gitbook-core/src/lib/connect.js
+++ b/packages/gitbook-core/src/lib/connect.js
@@ -2,7 +2,7 @@ const React = require('react');
const ReactRedux = require('react-redux');
const { injectIntl } = require('react-intl');
-const ContextShape = require('../shapes/Context');
+const ContextShape = require('../propTypes/Context');
/**
* Use the GitBook context provided by ContextProvider to map actions to props
diff --git a/packages/gitbook-core/src/lib/renderWithContext.js b/packages/gitbook-core/src/lib/renderWithContext.js
index c84c221..dc7e1f2 100644
--- a/packages/gitbook-core/src/lib/renderWithContext.js
+++ b/packages/gitbook-core/src/lib/renderWithContext.js
@@ -5,7 +5,7 @@ const PJAXWrapper = require('../components/PJAXWrapper');
const I18nProvider = require('../components/I18nProvider');
const ContextProvider = require('../components/ContextProvider');
const History = require('../actions/history');
-const contextShape = require('../shapes/context');
+const contextShape = require('../propTypes/context');
const GitBookApplication = React.createClass({
propTypes: {