diff --git a/react-sortable-mixin.js b/react-sortable-mixin.js index c40c15f..1076d59 100644 --- a/react-sortable-mixin.js +++ b/react-sortable-mixin.js @@ -139,7 +139,9 @@ modelName = _getModelName(this), items; - if (items = nextProps[modelName]) { + items = nextProps[modelName]; + + if (items) { newState[modelName] = items; this.setState(newState); }