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

Bug report #190

Open
alejandrordzl opened this issue Jun 21, 2022 · 0 comments
Open

Bug report #190

alejandrordzl opened this issue Jun 21, 2022 · 0 comments

Comments

@alejandrordzl
Copy link
Contributor

Describe the bug
If you create a permit using enablePermit API and after this creation you called a withPermit query, the permit is undefined in the context, therefore is not sent in the withPermit query. You need to reload the page in order to get the actual permit.

To Reproduce

  1. Create a button to create a permit using enablePermit API
  2. Just after a successfully permit creation execute a query permit
  3. Click the button you just created
  4. Check network tab in browser dev tools
  5. Check console in browser dev tools

Expected behavior
The expected behavior would be that after a successfully creation of a permit it would be available. No need to reload the page for this to be available.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [iOS]
  • Browser: [Brave]
  • Version [1.39.122 ]

Additional context
If you use permitManager.add you don't run in any issues.

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

No branches or pull requests

1 participant