New alert service
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
|
||||
import { useContext, useEffect, useState, useCallback } from 'react';
|
||||
import { SSEContext } from '../contexts/SSEContext';
|
||||
import type { Event, Alert, Notification, Recommendation } from '../types/events';
|
||||
import { convertLegacyAlert } from '../types/events';
|
||||
import type { Event, Alert, Notification, Recommendation } from '../api/types/events';
|
||||
import { convertLegacyAlert } from '../api/types/events';
|
||||
|
||||
interface UseSSEConfig {
|
||||
channels?: string[];
|
||||
|
||||
Reference in New Issue
Block a user