summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src/index.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-09-27 16:12:58 +0200
committerSamy Pesse <samypesse@gmail.com>2016-09-27 16:12:58 +0200
commit748c46172bb9f5cd33e0ced3869930626c38105d (patch)
treebe0d5d19745edd78930cdd319911813c956a684b /packages/gitbook-plugin-theme-default/src/index.js
parent51f4cd6dae0511d77bea71c6abf94c86aacdf67f (diff)
downloadgitbook-748c46172bb9f5cd33e0ced3869930626c38105d.zip
gitbook-748c46172bb9f5cd33e0ced3869930626c38105d.tar.gz
gitbook-748c46172bb9f5cd33e0ced3869930626c38105d.tar.bz2
Fix reducers mutating the state instead of creating a new one
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src/index.js')
-rw-r--r--packages/gitbook-plugin-theme-default/src/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/index.js b/packages/gitbook-plugin-theme-default/src/index.js
index 64d4433..2ef5c63 100644
--- a/packages/gitbook-plugin-theme-default/src/index.js
+++ b/packages/gitbook-plugin-theme-default/src/index.js
@@ -45,7 +45,6 @@ let ThemeBody = React.createClass({
});
ThemeBody = GitBook.connect(ThemeBody, ({page, summary, sidebar}) => {
- console.log('connect!');
return { page, summary, sidebar };
});