Skip to content

Commit 6709d27

Browse files
wuweiweiwuHgAlexx
andauthored
Better naming
Co-Authored-By: HgAlexx <[email protected]>
1 parent f63675a commit 6709d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react-sortable-tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class ReactSortableTree extends Component {
160160
// make sure we have the most recent version of treeData
161161
instanceProps.treeData = nextProps.treeData;
162162

163-
if (!isEqualResult) {
163+
if (!isTreeDataEqual) {
164164
if (instanceProps.ignoreOneTreeUpdate) {
165165
instanceProps.ignoreOneTreeUpdate = false;
166166
} else {

0 commit comments

Comments
 (0)