diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-09-27 16:12:58 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-09-27 16:12:58 +0200 |
commit | 748c46172bb9f5cd33e0ced3869930626c38105d (patch) | |
tree | be0d5d19745edd78930cdd319911813c956a684b /packages/gitbook-plugin-theme-default/src/index.js | |
parent | 51f4cd6dae0511d77bea71c6abf94c86aacdf67f (diff) | |
download | gitbook-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.js | 1 |
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 }; }); |