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

Add transfer.success event to v2 Redeem view #2696

Conversation

artursapek
Copy link
Collaborator

@artursapek artursapek commented Sep 23, 2024

image

image

Copy link

netlify bot commented Sep 23, 2024

👷 Deploy request for wormhole-connect pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1c272f5

Copy link

netlify bot commented Sep 23, 2024

👷 Deploy request for wormhole-connect-mainnet pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 1c272f5

Copy link
Collaborator

@emreboga emreboga left a comment

Choose a reason for hiding this comment

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

LGTM!

@artursapek artursapek merged commit dfb817b into wormhole-foundation:development Sep 23, 2024
8 checks passed
useEffect(() => {
// When we see the transfer was complete for the first time,
// fire a transfer.success telemetry event.
if (isTxComplete && !transferSuccessEventFired) {
Copy link
Collaborator

@kev1n-peters kev1n-peters Sep 23, 2024

Choose a reason for hiding this comment

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

Do we need to include transferSuccessEventFired in the dep array? I guess isTxComplete will only change once (from false to true) so might not matter

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.

3 participants