Skip to content

Commit 546aade

Browse files
ljharbchiawendt
andauthored
Remove oops
Co-Authored-By: golopot <[email protected]>
1 parent 4692caa commit 546aade

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/util/usedPropTypes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ module.exports = function usedPropTypesInstructions(context, components, utils)
424424
function markDestructuredFunctionArgumentsAsUsed(node) {
425425
const param = node.params && inSetStateUpdater() ? node.params[1] : node.params[0];
426426
? node.params && node.params[1]
427-
: node.params && node.params[0];
428427

429428
const destructuring = param && (
430429
param.type === 'ObjectPattern' ||

0 commit comments

Comments
 (0)