diff --git a/src/views/notification-center/NotificationCenterView.tsx b/src/views/notification-center/NotificationCenterView.tsx index 8f74f251..b1458826 100644 --- a/src/views/notification-center/NotificationCenterView.tsx +++ b/src/views/notification-center/NotificationCenterView.tsx @@ -1,5 +1,4 @@ import { FC, ReactNode, useCallback, useMemo, useState } from 'react'; -import { createPortal } from 'react-dom'; import { NotificationAlertEvent, NotificationConfirmEvent } from '../../events'; import { NotificationBubbleEvent } from '../../events/notification-center/NotificationBubbleEvent'; import { useUiEvent } from '../../hooks/events'; @@ -148,8 +147,8 @@ export const NotificationCenterView: FC = props =>
{ getBubbleAlerts }
- { createPortal(getAlerts, document.getElementById('nitro-alerts-container')) } - { createPortal(getConfirms, document.getElementById('nitro-confirms-container')) } + { getConfirms } + { getAlerts } ); }