-
Notifications
You must be signed in to change notification settings - Fork 440
unify warning and error and add capslock warning #545
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
Conversation
border-radius: ${theme.borderRadius}; | ||
border: 1px solid ${theme.inputBorderColor}; | ||
border-color: ${withError ? theme.errorBorderColor : theme.inputBorderColor}; |
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 is the bug fix. The boder-color was overwritten by the more down the line "border".
@@ -64,10 +64,7 @@ function Export ({ className, match: { params: { address } } }: Props): React.Re | |||
/> | |||
<div className={className}> | |||
<Address address={address}> | |||
<Warning | |||
className='movedWarning' | |||
isDanger |
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 is a warning, not an error, removing the isDanger. The Button is still red.
@@ -40,10 +40,7 @@ function Forget ({ className, match: { params: { address } } }: Props): React.Re | |||
/> | |||
<div className={className}> | |||
<Address address={address}> | |||
<Warning | |||
className='movedWarning' | |||
isDanger |
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, this is a warning, not an error, removing the isDanger. The Button is still red.
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.
Some small comments.
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is how a warning + error looks like on signing
And here on the derivation flow