Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(libs/form-context): make selectors safer #61

Merged
merged 1 commit into from
Feb 25, 2022
Merged

Conversation

hpierre74
Copy link
Collaborator

Description

Simply add some optional chaining in selectors when it is missing. We should always be safe accessing nested values

Related Issue

Fixes a bug in the demo on the MaterialUI example login form

@hpierre74 hpierre74 added Bedrock When the author is a member of the organization 🧑‍⚖️ Tech review needed Pull Request is ready for review, let's go ! 🐞 bug Something isn't working labels Feb 25, 2022
@hpierre74 hpierre74 merged commit 39fc91c into master Feb 25, 2022
@hpierre74 hpierre74 deleted the fix-optional-chain branch February 25, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bedrock When the author is a member of the organization 🐞 bug Something isn't working 🧑‍⚖️ Tech review needed Pull Request is ready for review, let's go !
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants