adding the Account Deletion stuff for the play store

This commit is contained in:
itsamejms
2026-05-10 15:10:10 +01:00
parent ccd08dac4e
commit b8bb2ede70
5 changed files with 247 additions and 4 deletions
+31
View File
@@ -0,0 +1,31 @@
import * as React from "react";
import { useToast } from "@/components/ui/use-toast";
import { Toast, ToastTitle, ToastDescription, ToastClose } from "@/components/ui/toast";
const Toaster: React.FC = () => {
const { toasts } = useToast();
return (
<>
{toasts.map((t) => (
<Toast
key={t.id}
open={t.open}
onOpenChange={(open) => t.onOpenChange?.(open)}
variant={(t as any).variant}
>
<div className="flex-1">
{t.title && <ToastTitle>{t.title}</ToastTitle>}
{t.description && <ToastDescription>{t.description}</ToastDescription>}
</div>
{t.action}
<ToastClose />
</Toast>
))}
</>
);
};
export default Toaster;