'use client'; import { useState } from 'react'; import AddNotification from '@/components/dialogues/AddNotification'; import DeleteNotification from '@/components/dialogues/DeleteNotification'; import useNotifications from '@/hooks/useNotifications'; import { Plus, Trash2, Play } from 'lucide-react'; export const NotificationSettings = ({ onError, onSuccess }: { onError: (message: string) => void, onSuccess: (message: string) => void }) => { const { loadNotifications, notifications } = useNotifications(); const [deleteNotificationId, setDeleteNotificationId] = useState(null); return (

Notification Settings

Manage your notification settings

{notifications.map((notification: any) => ( ))}
# Name Type Actions
{notification.id} {notification.name} {notification.type}
{deleteNotificationId && ( )}
); };