Browse Source

Don't use assignment in condition

pull/412/head
Nick Sinopoli 10 years ago
parent
commit
6f3699c792
  1. 4
      react-sortable-mixin.js

4
react-sortable-mixin.js vendored

@ -139,7 +139,9 @@
modelName = _getModelName(this),
items;
if (items = nextProps[modelName]) {
items = nextProps[modelName];
if (items) {
newState[modelName] = items;
this.setState(newState);
}

Loading…
Cancel
Save