refactor(selection): only set new one if selection updated

This commit is contained in:
moklick
2019-08-01 13:28:22 +02:00
parent 22938baa93
commit 6b81436316
7 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ export default NodeComponent => {
});
WrappedComp.displayName = 'Wrapped Node';
WrappedComp.whyDidYouRender = false;
WrappedComp.whyDidYouRender = true;
return WrappedComp;
};