@samitouri / QOS-React / commits / 3e657a6031

Prettier

Dan committed Apr 19, 2019 at 13:09 UTC 3e657a603181b41abf1fb01ea835ae73c9cac5fa
1 file changed +6 -4
src/devtools/store.js
+6 -4
@@ -799,10 +799,12 @@ export default class Store extends EventEmitter {
799 }
800 // This check is more expensive so it's gated
801 if (__DEV__) {
802 - if (nextChildren.find(childID => {
803 - const childElement = this._idToElement.get(childID);
804 - return childElement == null || childElement.parentID !== id;
805 - }) != null) {
802 + if (
803 + nextChildren.find(childID => {
804 + const childElement = this._idToElement.get(childID);
805 + return childElement == null || childElement.parentID !== id;
806 + }) != null
807 + ) {
808 console.error(
809 `Children cannot be added or removed during a reorder operation.`
810 );