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

dApp: Points - implement claim function debounce #783

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kpyszkowski
Copy link
Contributor

Closes: #739

There was an issue user was able to click the button multiple times before the modal was displayed causing the claim action to be executed multiple times. it led to multiple points logs registered in the database.

As the solution i applied debounce technique to limit calls of the claimPoints function.

@kpyszkowski kpyszkowski self-assigned this Oct 24, 2024
Copy link

netlify bot commented Oct 24, 2024

Deploy Preview for acre-dapp-testnet ready!

Name Link
🔨 Latest commit f78dd9c
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp-testnet/deploys/6728aaa08eff170008d7d0bc
😎 Deploy Preview https://deploy-preview-783--acre-dapp-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 24, 2024

Deploy Preview for acre-dapp ready!

Name Link
🔨 Latest commit f78dd9c
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp/deploys/6728aaa055e57d0008adafbe
😎 Deploy Preview https://deploy-preview-783--acre-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nkuba nkuba added this to the Ledger Live Launch milestone Nov 4, 2024
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.

[Acre points] multiple entries inserted into points_log when claimed points
2 participants