Skip to content
This repository has been 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
merged 3 commits into from
Jan 5, 2022

Conversation

ljharb
Copy link
Contributor

@ljharb ljharb commented Jan 5, 2022

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