Skip to content

Conversation

@marlonmarcello
Copy link
Member

Description

Right now it's possible that the state is undefined and so the early return doesn't work, which ends up triggering the focus of these buttons.

This PR addresses this issue.

@changeset-bot
Copy link

changeset-bot bot commented Jan 30, 2026

🦋 Changeset detected

Latest commit: bd09e93

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wethegit/react-modal Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@andrewrubin andrewrubin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marlonmarcello marlonmarcello merged commit c3ba12f into main Jan 30, 2026
5 checks passed
@marlonmarcello marlonmarcello deleted the fix/undefine-state-check branch January 30, 2026 01:12
@github-actions github-actions bot mentioned this pull request Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants