-
Notifications
You must be signed in to change notification settings - Fork 123
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
fix: register ledger device #1746
fix: register ledger device #1746
Conversation
@@ -4,14 +4,16 @@ import { twMerge } from "tailwind-merge"; | |||
|
|||
type IconTooltipProps = { | |||
icon: React.ReactNode; | |||
text: string; | |||
text: string | React.ReactNode; |
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.
I think this could just be React.ReactNode
- I believe that type includes string, number, etc
</p> | ||
<p className="text-sm"> | ||
The <b>Register Ledger Device</b> button remains active because we have | ||
no way to check if a device is already registered. |
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.
I would maybe reword this:
The Register Ledger Device button remains active because we have
no way to check if a device is already registered.
It is normal to see the Register Ledger Device button after registering due to limitations of Ledger registration detection in browser.
...
Or something. Hmmm, I dunno, it just feels a little weird, but is likely fine! I get why it should be here
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.
This looks really good! Take or leave my comments, they are very minor suggestions!
d2717e3
to
5174dd5
Compare
7270cb0
to
a87555f
Compare
d5ac94a
into
feat/ledger-masp-integration-branch
* fix: register ledger device * feat: refactor + cleanup * fix: code review comments
There is one annoying thing that after going back from settings we have to choose asset once again, but we can improve it later.
register.device.mp4