From fa03825540ba70e593a09d36836bf1ba99aa21f6 Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Wed, 11 Dec 2024 11:34:59 -0500 Subject: [PATCH] remove generic in useAttachmentUrl() --- src/hooks/projects.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/projects.ts b/src/hooks/projects.ts index 398f586..1fbc4a9 100644 --- a/src/hooks/projects.ts +++ b/src/hooks/projects.ts @@ -111,12 +111,12 @@ export function useIconUrl({ return { data, isRefetching } } -export function useAttachmentUrl({ +export function useAttachmentUrl({ projectId, blobId, }: { projectId: string - blobId: B + blobId: BlobId }) { const { data: projectApi } = useSingleProject({ projectId })