From 3e657a603181b41abf1fb01ea835ae73c9cac5fa Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 19 Apr 2019 13:09:25 +0100 Subject: [PATCH] Prettier --- src/devtools/store.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/devtools/store.js b/src/devtools/store.js index 829f11b681..5e9c7b0993 100644 --- a/src/devtools/store.js +++ b/src/devtools/store.js @@ -799,10 +799,12 @@ export default class Store extends EventEmitter { } // This check is more expensive so it's gated if (__DEV__) { - if (nextChildren.find(childID => { - const childElement = this._idToElement.get(childID); - return childElement == null || childElement.parentID !== id; - }) != null) { + if ( + nextChildren.find(childID => { + const childElement = this._idToElement.get(childID); + return childElement == null || childElement.parentID !== id; + }) != null + ) { console.error( `Children cannot be added or removed during a reorder operation.` );