diff --git a/lib/6to5/transformation/transformers/react.js b/lib/6to5/transformation/transformers/react.js index 8b9af5894a..3a7f29cdeb 100644 --- a/lib/6to5/transformation/transformers/react.js +++ b/lib/6to5/transformation/transformers/react.js @@ -27,7 +27,6 @@ var addDisplayName = function (id, call) { var safe = true; _.each(props, function (prop) { - var key = prop.key; if (t.isIdentifier(prop.key, { name: "displayName" })) { return safe = false; }