Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit a62a504

Browse files
noscripterljharb
authored andcommitted
[Docs] Improve wording for checkPropTypes
1 parent 953ed9b commit a62a504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ PropTypes.checkPropTypes(myPropTypes, props, 'age', 'MyComponent');
289289

290290
## PropTypes.resetWarningCache()
291291

292-
`PropTypes.checkPropTypes(...)` only `console.error.log(...)`s a given message once. To reset the cache while testing call `PropTypes.resetWarningCache()`
292+
`PropTypes.checkPropTypes(...)` only `console.error` a given message once, to reset the error warning cache in tests please call `PropTypes.resetWarningCache()`
293293

294294
### License
295295

0 commit comments

Comments
 (0)