Skip to content

Commit

Permalink
Remove oops
Browse files Browse the repository at this point in the history
Co-Authored-By: golopot <golopot@gmail.com>
  • Loading branch information
ljharb and golopot committed Apr 28, 2019
1 parent 546aade commit 5283e0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/util/usedPropTypes.js
Expand Up @@ -423,7 +423,6 @@ module.exports = function usedPropTypesInstructions(context, components, utils)
*/
function markDestructuredFunctionArgumentsAsUsed(node) {
const param = node.params && inSetStateUpdater() ? node.params[1] : node.params[0];
? node.params && node.params[1]

const destructuring = param && (
param.type === 'ObjectPattern' ||
Expand Down

0 comments on commit 5283e0c

Please sign in to comment.