"use client"; import React from "react"; import { Elements } from "@stripe/react-stripe-js"; import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from "@/components/ui/dialog"; import CheckoutPage from "./checkoutPage"; import convertToSubcurrency from "@/lib/convertToSubcurrency"; import { Button } from "@/components/ui/button"; interface PaymentDialogProps { open: boolean; // eslint-disable-next-line no-unused-vars onOpenChange: (open: boolean) => void; amount: number; stripePromise: Promise; isAcceptTermAndService: () => boolean; projectId: number; investorId: string; } export function PaymentDialog({ open, onOpenChange, amount, stripePromise, isAcceptTermAndService, projectId, investorId, }: PaymentDialogProps) { return ( Payment Information

Proceed with the payment to complete your investment.

); }