Skip to content

Commit

Permalink
simplify address ui
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Oct 24, 2023
1 parent 88e6ee8 commit 5b41aeb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions renderer/src/components/WalletModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@ const WalletModule: FC<PropsWallet> = ({ isOpen = false }) => {
{stationAddress.slice(stationAddress.length - 6, stationAddress.length)}
</p>
<button
className={'h-full w-auto flex flex-row items-center justify-start group ml-2 cursor-pointer'}
className={'h-full w-auto flex flex-row items-center justify-start group ml-2 mr-2 cursor-pointer'}
tabIndex={0}
onClick={() => navigator.clipboard.writeText(stationAddress) }
>
<CopyIcon className="btn-icon-primary mr-1 h-[12px] opacity-80 group-hover:opacity-100" />
<span className='text text-body-3xs text-white hidden group-hover:block opacity-80'>Copy</span>
</button>
<p className='station-address text text-body-3xs text-white'>
{' '}
Expand All @@ -84,11 +83,10 @@ const WalletModule: FC<PropsWallet> = ({ isOpen = false }) => {
</p>
<button
className={'h-full w-auto flex flex-row items-center justify-start group ml-2 cursor-pointer'}
tabIndex={0}
tabIndex={1}
onClick={() => navigator.clipboard.writeText(stationAddress0x) }
>
<CopyIcon className="btn-icon-primary mr-1 h-[12px] opacity-80 group-hover:opacity-100" />
<span className='text text-body-3xs text-white hidden group-hover:block opacity-80'>Copy</span>
</button>
</div>
<div
Expand Down

0 comments on commit 5b41aeb

Please sign in to comment.