From 1afb4df3e6c21a2e28549a43623be565fa80193c Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 2 Dec 2025 17:08:37 -0500 Subject: [PATCH] fix pub icons --- app/lish/[did]/[publication]/icon.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/lish/[did]/[publication]/icon.ts b/app/lish/[did]/[publication]/icon.ts index deab68cc..106f239c 100644 --- a/app/lish/[did]/[publication]/icon.ts +++ b/app/lish/[did]/[publication]/icon.ts @@ -14,11 +14,10 @@ export const size = { }; export const contentType = "image/png"; -export default async function Icon({ - params, -}: { - params: { did: string; publication: string }; +export default async function Icon(props: { + params: Promise<{ did: string; publication: string }>; }) { + const params = await props.params; try { let did = decodeURIComponent(params.did); let uri; -- 2.51.2