import * as React from "react" import { cn } from "@/lib/utils" import type { carte } from '@prisma/client' import { Spinner } from "./spinner" interface carteWithProps { carte: carte className?: string } const MTGCardTextHover = ({ carte, className }: carteWithProps) => { const [loaded, setLoaded] = React.useState(false) return (