diff --git a/demo/src/components/App/components/Example7/Example7.js b/demo/src/components/App/components/Example7/Example7.js index 61a2396..e97e622 100644 --- a/demo/src/components/App/components/Example7/Example7.js +++ b/demo/src/components/App/components/Example7/Example7.js @@ -55,7 +55,7 @@ function mapDispatchToProps(dispatch) { }; } -function renderItemsContainer({ children, ...rest }) { +function renderItemsContainer(props) { return ( ); diff --git a/package.json b/package.json index 9240269..1886f65 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "build": "npm run dist", "gh-pages-build": "npm run prebuild && npm run demo-dist", "deploy": "./scripts/deploy-to-gh-pages.sh", + "preversion": "npm run prebuild", "postversion": "git push && git push --tags", "prepublish": "npm run dist" },