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: Error: No matching request found (on Beacon sign) #2284

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

dianasavvatina
Copy link
Contributor

Proposed changes

Fixed error on successful sign request:

Uncaught (in promise) Error: No matching request found!

The problem is that on successful sign, SignPayloadRequestModal calls onClose() which is intended to handle the situation when a user closes the modal window effectively rejecting the request. Since the sign is already approved, an attempt to reject the request results in this error. The logic is the same in web and desktop:

The error is not shown after the change.

Types of changes

  • Bugfix
  • New feature
  • Refactor
  • Breaking change
  • UI fix

Steps to reproduce

  1. connect wallet with https://taquito-test-dapp.pages.dev/
  2. sign payload
  3. check the log for the error Error: No matching request found!

Screenshots

Add the screenshots of how the app used to look like and how it looks now

Before:
image

Checklist

  • Tests that prove my fix is effective or that my feature works have been added
  • Documentation has been added (if appropriate)
  • Screenshots are added (if any UI changes have been made)
  • All TODOs have a corresponding task created (and the link is attached to it)

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
umami-embed-iframe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 4:49pm
umami-embed-iframe-ghostnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 4:49pm
umami-v2-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 4:49pm
umami-v2-web-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 4:49pm

@dianasavvatina dianasavvatina merged commit d78b863 into main Dec 19, 2024
10 checks passed
@dianasavvatina dianasavvatina deleted the sign_fix branch December 19, 2024 12:30
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