main
useNotifications
export const useNotifications = () => { const [list, setList] = useState<Notification[]>([]); const { fetchNotifications, notifications,