-
Notifications
You must be signed in to change notification settings - Fork 54
Claim pending icon spinner and show timezone. #2235
Conversation
|
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.
Looks super nice! the effect is hypnotizing, i can't stop looking at it
<i>{airdropDeadline && new Date(airdropDeadline).toLocaleString()}</i> | ||
<i> | ||
{airdropDeadline && new Date(airdropDeadline).toLocaleString()} ( | ||
{Intl.DateTimeFormat().resolvedOptions().timeZone}) |
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.
Should we move this to a function in utils/time.ts
that would do the whole formatting?
formatDateWithTimezone(date):string
?
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.
Yes probably cleaner as we could use it in the claim table as well!
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.
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.
👏
Michel, I can take care of refactoring and you can focus on the UI ✨ magic ✨
Appreciate it, thank you 🪄 |
Looks great! |
Summary
Screen.Recording.2022-01-20.at.18.42.48.mov