fix: remove duplicate close button from buy credits modal

This commit is contained in:
2026-04-23 13:47:08 -04:00
parent 4eb4212b3f
commit 3f37690e50
@@ -1,6 +1,6 @@
"use client";
import { Coffee, ExternalLink, X } from "lucide-react";
import { Coffee, ExternalLink } from "lucide-react";
import {
Dialog,
DialogContent,
@@ -35,18 +35,9 @@ export function BuyCreditsModal({ open, onOpenChange }: BuyCreditsModalProps) {
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="rounded-[2rem] border-4 border-foreground bg-card p-0 shadow-[12px_12px_0px_0px_rgba(0,0,0,0.1)] max-w-md">
<DialogHeader className="bg-primary/10 border-b-4 border-foreground p-6">
<div className="flex items-center justify-between">
<DialogTitle className="font-display text-3xl uppercase italic text-primary">
Stock the Coop
</DialogTitle>
<button
type="button"
onClick={() => onOpenChange(false)}
className="rounded-full p-2 hover:bg-background transition-colors"
>
<X className="h-6 w-6" />
</button>
</div>
<DialogTitle className="font-display text-3xl uppercase italic text-primary">
Stock the Coop
</DialogTitle>
<p className="text-sm font-bold text-muted-foreground mt-2">
100 $COOP per dollar. Use same email as Plex for auto-delivery.
</p>