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

[Fix] fix crash when a custom propType return lacks .data; call hasOwnProperty properly#370

Merged
ljharb merged 3 commits into
mainfrom
hasOwnProperty
Jan 5, 2022
Merged

[Fix] fix crash when a custom propType return lacks .data; call hasOwnProperty properly#370
ljharb merged 3 commits into
mainfrom
hasOwnProperty

Conversation

@ljharb

@ljharb ljharb commented Jan 5, 2022

Copy link
Copy Markdown
Contributor

Fixes #369.

@ljharb
ljharb merged commit 90c8c47 into main Jan 5, 2022
@ljharb
ljharb deleted the hasOwnProperty branch January 5, 2022 00:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

15.8.0: checkPropTypes sometimes throws: Cannot read properties of undefined (reading 'hasOwnProperty')

2 participants