import { AdminMessage } from "@repo/db"; import { BaseNotification } from "_components/customToasts/BaseNotification"; import { cn } from "@repo/shared-components"; import { TriangleAlert } from "lucide-react"; import toast, { Toast } from "react-hot-toast"; export const AdminMessageToast = ({ event, t }: { event: AdminMessage; t: Toast }) => { const handleClick = () => { toast.dismiss(t.id); }; return ( } className="flex flex-row">

{event.message}

{event.data?.reason}

); };