diff --git a/src/frontend/src/features/notifications/MainNotificationToast.tsx b/src/frontend/src/features/notifications/MainNotificationToast.tsx index 6e5ea93c..5de48fc4 100644 --- a/src/frontend/src/features/notifications/MainNotificationToast.tsx +++ b/src/frontend/src/features/notifications/MainNotificationToast.tsx @@ -3,18 +3,17 @@ import { useRoomContext } from '@livekit/components-react' import { Participant, RemoteParticipant, RoomEvent } from 'livekit-client' import { ChatMessage, isMobileBrowser } from '@livekit/components-core' import { useTranslation } from 'react-i18next' -import { Div } from '@/primitives' import { NotificationType } from './NotificationType' import { NotificationDuration } from './NotificationDuration' import { decodeNotificationDataReceived } from './utils' import { useNotificationSound } from '@/features/notifications/hooks/useSoundNotification' -import { ToastProvider, toastQueue } from './components/ToastProvider' -import { WaitingParticipantNotification } from './components/WaitingParticipantNotification' +import { toastQueue } from './components/ToastProvider' import { layoutStore } from '@/stores/layout' import { PanelId } from '@/features/rooms/livekit/hooks/useSidePanel' import { useScreenReaderAnnounce } from '@/hooks/useScreenReaderAnnounce' import { Emoji } from '@/features/reactions/types' import { useReactions } from '@/features/reactions/hooks/useReactions' +import { NotificationProvider } from './NotificationProvider' export const MainNotificationToast = () => { const room = useRoomContext() @@ -233,10 +232,5 @@ export const MainNotificationToast = () => { // the 'notifications' namespace might not be loaded yet useTranslation(['notifications']) - return ( -