diff --git a/client/src/components/DECard.tsx b/client/src/components/DECard.tsx index 07afa99..8093c68 100644 --- a/client/src/components/DECard.tsx +++ b/client/src/components/DECard.tsx @@ -10,14 +10,11 @@ interface DECardProps { resourceUsage: string; customization: string; colorPalette: string[]; - image?: string; }; onSwipe: (direction: 'left' | 'right' | 'super') => void; isTop: boolean; } -const deImages: Record = {}; - const styleIcons: Record = { 'modern': Settings, 'minimalist': Feather, @@ -116,35 +113,16 @@ export default function DECard({ de, onSwipe, isTop }: DECardProps) { GEÇ -
- {de.image ? ( -
- {de.name} { - e.currentTarget.style.display = 'none'; - e.currentTarget.parentElement!.style.display = 'none'; - }} - /> -
- ) : ( -
- -
- )} +
+
+ +