From 8d3aa98b5f578670ae1adbd847a9cdba2949db88 Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Tue, 18 Apr 2017 11:14:19 +0200 Subject: [PATCH] Remove unnecessary attachedNodeFrontsByActor prop on the Result component --- src/launchpad/components/Result.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/launchpad/components/Result.js b/src/launchpad/components/Result.js index befe674..1dc5ee5 100644 --- a/src/launchpad/components/Result.js +++ b/src/launchpad/components/Result.js @@ -4,7 +4,6 @@ const { DOM: dom, PropTypes, createFactory } = React; const { MODE } = require("../../reps/constants"); const Rep = createFactory(require("../../reps/rep").Rep); const Grip = require("../../reps/grip"); -const { getSelectableInInspectorGrips } = require("../../reps/rep-utils"); const Result = React.createClass({ displayName: "Result", @@ -53,12 +52,6 @@ const Result = React.createClass({ defaultRep: Grip, mode: MODE[modeKey], onInspectIconClick: nodeFront => console.log("inspectIcon click", nodeFront), - attachedNodeFrontsByActor: getSelectableInInspectorGrips(object) - .reduce((res, gripStub) => { - return Object.assign(res, { - [gripStub.actor]: gripStub - }); - }, {}) }) ); },