diff --git a/app/pages/ExploreImageDetailsPage.tsx b/app/pages/ExploreImageDetailsPage.tsx index 8ed8f79..f3886e5 100644 --- a/app/pages/ExploreImageDetailsPage.tsx +++ b/app/pages/ExploreImageDetailsPage.tsx @@ -168,6 +168,18 @@ const ExploreImageDetailsPageAccessor = () => {
+ {imageData.setId && ( +
+

Set

+ + View Set + +
+ )} +

Engine Model

{imageData.model}

diff --git a/app/server/getImage.ts b/app/server/getImage.ts index cf0c91b..304e01b 100644 --- a/app/server/getImage.ts +++ b/app/server/getImage.ts @@ -35,6 +35,7 @@ export interface ImageData { createdAt: Date; comments: ImageComment[]; likes: ImageLike[]; + setId: string | null; } export interface GetImageDataAPIResponse extends ImageData { @@ -86,6 +87,7 @@ export const getImage = async ( userId: true, }, }, + setId: true, }, });