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 claim reward modal #543

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

add claim reward modal #543

wants to merge 2 commits into from

Conversation

supertong
Copy link
Contributor

image image

When the "Claim" button is clicked, the modal in the above image shoud display.
Note: I have place in a few placeholders since I have no idea where to get those value from.

When the "Proceed" button is clicked on the modal, it will send a notification and when the claim action was successful, a success notification will be send after that.
Note: We might need a redesign of the notification banners but I have no idea if the design is ready so I will leave it for now.

@jrwbabylonlab
Copy link
Collaborator

I will remove the mocked data and link it with the actual calls

@@ -42,6 +53,8 @@ export function PersonalBalance() {
return null;
}

const rewardBalance = ubbnToBbn(rewardsQuery.data ?? 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

Domain logic inside render function

@jrwbabylonlab
Copy link
Collaborator

Discussed on the call. the code improvement of moving domain logic into its own services will be handled later by its own ticket/PR
#547

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.

4 participants