Skip to content

Commit

Permalink
Show tooltip icon no matter the toggle state
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 committed Feb 19, 2024
1 parent f285645 commit c9b86d2
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions packages/ui/components/ui/select-account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,22 +115,20 @@ export const SelectAccount = ({ getAddrByIndex }: SelectAccountProps) => {
<div className='flex items-center gap-2'>
<IncognitoIcon fill='#BDB8B8' />
<p className='mt-1 font-bold'>IBC Deposit Address</p>
{ephemeral && (
<TooltipProvider>
<Tooltip>
<TooltipTrigger>
<InfoIcon className='size-4 cursor-pointer text-muted-foreground hover:text-[#8D5728]' />
</TooltipTrigger>
<TooltipContent className='w-[250px]'>
<p>
IBC transfers into Penumbra post the destination address in public on the
source chain. Use this randomized IBC deposit address to preserve privacy
when transferring funds into Penumbra.
</p>
</TooltipContent>
</Tooltip>
</TooltipProvider>
)}
<TooltipProvider delayDuration={0}>
<Tooltip>
<TooltipTrigger>
<InfoIcon className='size-4 cursor-pointer text-muted-foreground hover:text-[#8D5728]' />
</TooltipTrigger>
<TooltipContent className='w-[250px]'>
<p>
IBC transfers into Penumbra post the destination address in public on the
source chain. Use this randomized IBC deposit address to preserve privacy when
transferring funds into Penumbra.
</p>
</TooltipContent>
</Tooltip>
</TooltipProvider>
</div>
<Switch
id='address-mode'
Expand Down

0 comments on commit c9b86d2

Please sign in to comment.