Skip to content

Commit

Permalink
Merge pull request #14 from smollweide/develop
Browse files Browse the repository at this point in the history
v0.4.3
  • Loading branch information
smollweide authored Mar 31, 2017
2 parents 944a980 + ad0fa27 commit 45c19e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-speed-dial",
"version": "0.4.2",
"version": "0.4.3",
"description": "React Component that implements a speed dial using Material-UI.",
"email": "simon.mollweide@web.de",
"author": "Simon Mollweide <simon.mollweide@web.de>",
Expand Down
5 changes: 2 additions & 3 deletions src/components/speed-dial/speed-dial.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,10 @@ class SpeedDial extends React.Component {

/**
* @param {Object} nextProps - the next props Object
* @param {Function} setState - the setState method
* @returns {void}
*/
componentWillReceiveProps(nextProps, setState = this.setState) {
setState({
componentWillReceiveProps(nextProps) {
this.setState({
isOpen: nextProps.isOpen,
});
}
Expand Down

0 comments on commit 45c19e5

Please sign in to comment.