Skip to content

Commit

Permalink
Tidying up code.
Browse files Browse the repository at this point in the history
After experimenting w/ ways of returning react cmp instances
  • Loading branch information
foot committed Jan 29, 2016
1 parent ac00898 commit 0c9bed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/scripts/charts/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function stackedShape(Shape) {
}

const nodeShapes = {
'hosts': (props) => React.createFactory(NodeShapeCircle)(props),
'hosts': NodeShapeCircle,
'containers': NodeShapeHex,
'containers-by-hostname': stackedShape(NodeShapeHex),
'containers-by-image': stackedShape(NodeShapeHex),
Expand Down

0 comments on commit 0c9bed0

Please sign in to comment.