import { AdminMessage } from "@repo/db";
import { BaseNotification } from "_components/customToasts/BaseNotification";
import { cn } from "_helpers/cn";
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 (
{event.message}