summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-core/src/components')
-rw-r--r--packages/gitbook-core/src/components/ContextProvider.js2
-rw-r--r--packages/gitbook-core/src/components/Link.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/gitbook-core/src/components/ContextProvider.js b/packages/gitbook-core/src/components/ContextProvider.js
index 86c8d41..96a44e3 100644
--- a/packages/gitbook-core/src/components/ContextProvider.js
+++ b/packages/gitbook-core/src/components/ContextProvider.js
@@ -1,7 +1,7 @@
const React = require('react');
const { Provider } = require('react-redux');
-const ContextShape = require('../shapes/Context');
+const ContextShape = require('../propTypes/Context');
/**
* React component to provide a GitBook context to children components.
diff --git a/packages/gitbook-core/src/components/Link.js b/packages/gitbook-core/src/components/Link.js
index 65f4eb5..ab364bb 100644
--- a/packages/gitbook-core/src/components/Link.js
+++ b/packages/gitbook-core/src/components/Link.js
@@ -3,8 +3,8 @@ const ReactRedux = require('react-redux');
const File = require('../models/File');
const SummaryArticle = require('../models/SummaryArticle');
-const SummaryArticleShape = require('../shapes/SummaryArticle');
-const FileShape = require('../shapes/File');
+const SummaryArticleShape = require('../propTypes/SummaryArticle');
+const FileShape = require('../propTypes/File');
const Link = React.createClass({
propTypes: {