Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed Nov 28, 2024
1 parent 09e262a commit 1671240
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/(pages)/stack/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const Tool: FC<{
readonly name: string;
readonly description: string;
readonly featured?: boolean;
readonly image?: string;
};
}> = ({ data }) => {
const { hostname } = new URL(data.href);
Expand All @@ -42,7 +43,10 @@ const Tool: FC<{
)}
>
<Image
src={`https://img.logo.dev/${hostname.replace('www.', '')}?token=${logoDevToken}`}
src={
data.image ??
`https://img.logo.dev/${hostname.replace('www.', '')}?token=${logoDevToken}`
}
alt={hostname}
width={32}
height={32}
Expand Down

0 comments on commit 1671240

Please sign in to comment.