Skip to content

Commit

Permalink
feat: minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
evavirseda committed Aug 14, 2024
1 parent b364086 commit 1cbb390
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
16 changes: 7 additions & 9 deletions apps/wallet/src/ui/app/components/coin-icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ interface NonIotaCoinProps {
function NonIotaCoin({ coinType }: NonIotaCoinProps) {
const { data: coinMeta } = useCoinMetadata(coinType);
return (
<>
<div className="flex h-full w-full items-center justify-center rounded-full">
<ImageIcon
src={coinMeta?.iconUrl}
label={coinMeta?.name || coinType}
fallback={coinMeta?.name || coinType}
/>
</div>
</>
<div className="flex h-full w-full items-center justify-center rounded-full">
<ImageIcon
src={coinMeta?.iconUrl}
label={coinMeta?.name || coinType}
fallback={coinMeta?.name || coinType}
/>
</div>
);
}

Expand Down
6 changes: 3 additions & 3 deletions apps/wallet/src/ui/app/pages/home/tokens/TokensDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ function PinButton({ isPinned, onClick }: PinButtonProps) {
onClick();
}}
>
{!isPinned ? (
<Unpined className="text-neutral-60" />
) : (
{isPinned ? (
<Pined className="text-primary-40" />
) : (
<Unpined className="text-neutral-60" />
)}
</button>
);
Expand Down

0 comments on commit 1cbb390

Please sign in to comment.