Skip to content

Fix: correction for reown loading#21

Merged
krishan711 merged 6 commits into
mainfrom
reownfixes
Jan 30, 2026
Merged

Fix: correction for reown loading#21
krishan711 merged 6 commits into
mainfrom
reownfixes

Conversation

@krishan711
Copy link
Copy Markdown
Contributor

Description

Screenshots:

Checklist:

  • I have updated the CHANGELOG with a summary of my changes
  • I have updated the documentation accordingly

Copilot AI review requested due to automatic review settings January 30, 2026 09:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an explicit “session restoring” signal to the Web3 account context, with special handling for Reown/AppKit, to avoid transient UI states while session restoration is in progress.

Changes:

  • Add isRestoringSession to Web3AccountContext and expose a useIsRestoringSession hook.
  • Track Reown/AppKit session-resolution state via AppKitSync and use it to influence restoring detection.
  • Compute restoring state based on saved provider RDNS + account initialization state.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Web3AccountContext.tsx Outdated
Comment thread src/Web3AccountContext.tsx Outdated
@krishan711 krishan711 merged commit 9c2316f into main Jan 30, 2026
3 checks passed
@krishan711 krishan711 deleted the reownfixes branch January 30, 2026 10:17
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.

2 participants