-
Notifications
You must be signed in to change notification settings - Fork 162
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
feat: add back button after opening chest #495
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super !
One last thing. On the collect rewards button after launching the transaction can you add the confirmation modal we have everywhere. Once the modal is closed you can also router.back()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to make this button appear after the card animation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a quick URL change and we're good
title="Your NFT is on it's way !" | ||
closeModal={() => { | ||
setModalTxOpen(false); | ||
router.back(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I should have said it the first time but it makes more sense to make the user go to /quest-boost
instead of .back()
because back makes him go to the quest boost he just opened
) : null} | ||
) : ( | ||
<div className="block ml-auto mr-auto"> | ||
<Button onClick={() => router.back()}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I should have said it the first time but it makes more sense to make the user go to /quest-boost
instead of .back()
because back makes him go to the quest boost he just opened
loop={false} | ||
/> | ||
<div className="mt-4"> | ||
<Button onClick={() => router.push("/")}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here we can make him go to the /quest-boost
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
close: #476