fix: remove duplicate close button from buy credits modal
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { Coffee, ExternalLink, X } from "lucide-react";
|
import { Coffee, ExternalLink } from "lucide-react";
|
||||||
import {
|
import {
|
||||||
Dialog,
|
Dialog,
|
||||||
DialogContent,
|
DialogContent,
|
||||||
@@ -35,18 +35,9 @@ export function BuyCreditsModal({ open, onOpenChange }: BuyCreditsModalProps) {
|
|||||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
<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">
|
<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">
|
<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">
|
||||||
<DialogTitle className="font-display text-3xl uppercase italic text-primary">
|
Stock the Coop
|
||||||
Stock the Coop
|
</DialogTitle>
|
||||||
</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>
|
|
||||||
<p className="text-sm font-bold text-muted-foreground mt-2">
|
<p className="text-sm font-bold text-muted-foreground mt-2">
|
||||||
100 $COOP per dollar. Use same email as Plex for auto-delivery.
|
100 $COOP per dollar. Use same email as Plex for auto-delivery.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user