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 TACo commitment checks and alerts when topping up or de-authing #724

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

Conversation

theref
Copy link
Member

@theref theref commented Jan 23, 2024

Builds on top of #723

Copy link

1 similar comment
Copy link

arjunhassard
arjunhassard previously approved these changes Jan 30, 2024
Copy link
Contributor

@arjunhassard arjunhassard left a comment

Choose a reason for hiding this comment

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

Nice work, hopefully not many stakers will use this facility anytime soon!

Copy link

github-actions bot commented Feb 7, 2024

Copy link
Contributor

@kpyszkowski kpyszkowski left a comment

Choose a reason for hiding this comment

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

Left one comment:

(Number(endCommitment) ?? 0) * 1000
).toLocaleDateString()
if (isCommited) {
alert(`You are still committed until ${endCommitmentDate}.`)
Copy link
Contributor

@kpyszkowski kpyszkowski Mar 18, 2024

Choose a reason for hiding this comment

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

Have you consider using Toast component here?
Native browser alert doesn't look good and dffers in behaviour in various browsers.

Copy link

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