Skip to content

[react] Remove unnecessary ConnectModal opening #2375

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

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Feb 29, 2024

PR-Codex overview

This PR removes unnecessary auto opening of the ConnectModal in the ConnectWallet component to prevent it from opening on page load when ThirdwebProvider is dynamically imported.

Detailed summary

  • Removed auto opening of ConnectModal
  • Fixed issue with Connect Modal opening on page load

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@MananTank MananTank requested a review from a team as a code owner February 29, 2024 18:54
@MananTank MananTank requested a review from a team February 29, 2024 18:54
Copy link

changeset-bot bot commented Feb 29, 2024

🦋 Changeset detected

Latest commit: ea52b0e

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

This PR includes changesets to release 4 packages
Name Type
@thirdweb-dev/react Patch
@thirdweb-dev/react-core Patch
@thirdweb-dev/react-native Patch
@thirdweb-dev/react-native-compat 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

@MananTank
Copy link
Member Author

/release-pr

@MananTank MananTank enabled auto-merge February 29, 2024 19:09
@MananTank
Copy link
Member Author

removed it because we don't need to reopen - because it was never closed by the "wrapper wallet" ( safe / smart wallet )

@MananTank MananTank added this pull request to the merge queue Feb 29, 2024
Merged via the queue into main with commit 553f7fd Feb 29, 2024
@MananTank MananTank deleted the mnn/remove-auto-open branch February 29, 2024 19:16
@jnsdls jnsdls mentioned this pull request Feb 29, 2024
jnsdls pushed a commit that referenced this pull request Jun 19, 2024
* Update dependencies

* Update params
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.

1 participant