summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src/components/Theme.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-12-04 20:27:44 +0100
committerSamy Pesse <samypesse@gmail.com>2016-12-04 20:27:44 +0100
commitf3af207e6ed786dd817c4a1c4d73efd083afd298 (patch)
treefcede9ff6de1cef78fc428b2c3e2eea275f67af6 /packages/gitbook-plugin-theme-default/src/components/Theme.js
parent7d05f8cb89790dc5d30442ce8d6dbd6c7d2edeba (diff)
downloadgitbook-f3af207e6ed786dd817c4a1c4d73efd083afd298.zip
gitbook-f3af207e6ed786dd817c4a1c4d73efd083afd298.tar.gz
gitbook-f3af207e6ed786dd817c4a1c4d73efd083afd298.tar.bz2
Update url when scrolling in default theme
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src/components/Theme.js')
-rw-r--r--packages/gitbook-plugin-theme-default/src/components/Theme.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/components/Theme.js b/packages/gitbook-plugin-theme-default/src/components/Theme.js
index b8cf89e..b323fc4 100644
--- a/packages/gitbook-plugin-theme-default/src/components/Theme.js
+++ b/packages/gitbook-plugin-theme-default/src/components/Theme.js
@@ -38,7 +38,11 @@ const Theme = React.createClass({
<Sidebar key={0} summary={summary} />
) : null}
<div key={1} className="Body-Flex">
- <Body page={page} readme={readme} />
+ <Body
+ page={page}
+ readme={readme}
+ history={history}
+ />
</div>
</ReactCSSTransitionGroup>
</GitBook.FlexBox>