Skip to content

Commit

Permalink
Merge pull request SortableJS#412 from NSinopoli/dev
Browse files Browse the repository at this point in the history
Fix jshint
  • Loading branch information
RubaXa committed Jun 25, 2015
2 parents 476ed83 + 6f3699c commit 38f732c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion react-sortable-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@
modelName = _getModelName(this),
items;

if (items = nextProps[modelName]) {
items = nextProps[modelName];

if (items) {
newState[modelName] = items;
this.setState(newState);
}
Expand Down

0 comments on commit 38f732c

Please sign in to comment.