Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
Remove unnecessary attachedNodeFrontsByActor prop on the Result compo…
Browse files Browse the repository at this point in the history
…nent
  • Loading branch information
nchevobbe authored and juliandescottes committed Apr 19, 2017
1 parent ac259df commit 8d3aa98
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/launchpad/components/Result.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
});
}, {})
})
);
},
Expand Down

0 comments on commit 8d3aa98

Please sign in to comment.