From 5ede49930ae239c4bf6a2540bb2cbca8c1346edd Mon Sep 17 00:00:00 2001 From: Hayden Bleasel Date: Wed, 27 Nov 2024 20:11:08 -0500 Subject: [PATCH] Improve images --- app/(pages)/stack/page.tsx | 7 ++----- data/stack.json | 13 ++++++------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/app/(pages)/stack/page.tsx b/app/(pages)/stack/page.tsx index 04ed9bde..2ce71118 100644 --- a/app/(pages)/stack/page.tsx +++ b/app/(pages)/stack/page.tsx @@ -30,7 +30,7 @@ const Tool: FC<{ readonly image?: string; }; }> = ({ data }) => { - const { hostname } = new URL(data.href); + const { hostname } = new URL(data.image ?? data.href); return (