Skip to content

Commit 55afa9c

Browse files
fix errant location arg
1 parent 3e3ff84 commit 55afa9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/CustomPropTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function createChainableTypeChecker(validate) {
4545
);
4646
}
4747
} else {
48-
return validate(props, propName, componentName, location);
48+
return validate(props, propName, componentName);
4949
}
5050
}
5151

0 commit comments

Comments
 (0)