Skip to content

Commit 5283e0c

Browse files
ljharbgolopot
andauthored
Remove oops
Co-Authored-By: golopot <[email protected]>
1 parent 546aade commit 5283e0c

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
@@ -423,7 +423,6 @@ module.exports = function usedPropTypesInstructions(context, components, utils)
423423
*/
424424
function markDestructuredFunctionArgumentsAsUsed(node) {
425425
const param = node.params && inSetStateUpdater() ? node.params[1] : node.params[0];
426-
? node.params && node.params[1]
427426

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

0 commit comments

Comments
 (0)