Skip to content

fix(ui+sdk+demos): popup broadcasts auth_ready until contract arrives - #601

Open
jacoby149 wants to merge 1 commit into
devfrom
jacoby149/consent-pending-contracts-debug
Open

fix(ui+sdk+demos): popup broadcasts auth_ready until contract arrives#601
jacoby149 wants to merge 1 commit into
devfrom
jacoby149/consent-pending-contracts-debug

Conversation

@jacoby149

Copy link
Copy Markdown
Owner

Two fixes:

  1. Popup broadcasts auth_ready until it receives a contract (not just once on mount). This way, contractRequest can fire at any time and the popup will respond.

  2. Demos send contract from login button click (same user gesture that opens the popup). This ensures the popup is open when contractRequest fires.

The popup closes normally after contract approval. No lingering.

…, demos send contract from login button click
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