diff --git a/components/TempDesignSystem/Card/index.tsx b/components/TempDesignSystem/Card/index.tsx index f3a8f3594..223574ded 100644 --- a/components/TempDesignSystem/Card/index.tsx +++ b/components/TempDesignSystem/Card/index.tsx @@ -11,7 +11,6 @@ import { cardVariants } from "./variants" import styles from "./card.module.css" -import type { ImageVaultAsset } from "@/types/components/imageVault" import type { CardProps } from "./card" export default function Card({ @@ -32,12 +31,12 @@ export default function Card({ imageHeight = imageHeight || 320 - /*imageWidth = + imageWidth = imageWidth || - (backgroundImage + (backgroundImage && "dimensions" in backgroundImage ? backgroundImage.dimensions.aspectRatio * imageHeight : 420) -*/ + return (