Skip to content

Commit

Permalink
fixup! feat(suite): replace send max button with switch
Browse files Browse the repository at this point in the history
  • Loading branch information
komret committed Aug 30, 2022
1 parent 524ead0 commit 4269217
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/src/components/form/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ export const Input = ({
<Label>
<LabelLeft>{label}</LabelLeft>
<LabelRight>
{labelAddonIsVisible && <div>{labelAddon}</div>}
{isHovered && !labelAddonIsVisible && <div>{labelAddon}</div>}
{(labelAddonIsVisible || isHovered) && labelAddon}
{labelRight && <RightLabel>{labelRight}</RightLabel>}
</LabelRight>
</Label>
Expand Down

0 comments on commit 4269217

Please sign in to comment.