"use client"; import { mediaUrl } from "@/app/lib/media"; import type { DatingProfile } from "../types"; import SwipeCard from "./SwipeCard"; interface SwipeStackProps { current: DatingProfile; next?: DatingProfile; badgeText: string; dragX: number; isDragging: boolean; isAnimatingOut: "left" | "right" | null; onLike: () => void; onDislike: () => void; onBeginDrag: (clientX: number) => void; onMoveDrag: (clientX: number) => void; onEndDrag: () => void; t: (key: string) => string; } export default function SwipeStack({ current, next, badgeText, dragX, isDragging, isAnimatingOut, onLike, onDislike, onBeginDrag, onMoveDrag, onEndDrag, t, }: SwipeStackProps) { return (