Skip to content

Commit

Permalink
remove generic in useAttachmentUrl()
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Dec 11, 2024
1 parent 60a082f commit fa03825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ export function useIconUrl({
return { data, isRefetching }
}

export function useAttachmentUrl<B extends BlobId>({
export function useAttachmentUrl({
projectId,
blobId,
}: {
projectId: string
blobId: B
blobId: BlobId
}) {
const { data: projectApi } = useSingleProject({ projectId })

Expand Down

0 comments on commit fa03825

Please sign in to comment.