refactor: update code to use centralized Ant Design imports
- Replaced direct import of '@ant-design/icons' with centralized import from '@/shared/antd-imports'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { BellOutlined } from '@ant-design/icons';
|
||||
import { BellOutlined } from '@/shared/antd-imports';
|
||||
import { Badge, Button, Tooltip } from '@/shared/antd-imports';
|
||||
import { toggleDrawer } from '@features/navbar/notificationSlice';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { IWorklenzNotification } from '@/types/notifications/notifications.types';
|
||||
import { BankOutlined } from '@ant-design/icons';
|
||||
import { BankOutlined } from '@/shared/antd-imports';
|
||||
import { Button, Tag, Typography, theme } from '@/shared/antd-imports';
|
||||
import DOMPurify from 'dompurify';
|
||||
import React, { useState } from 'react';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Button, Typography, Tag } from '@/shared/antd-imports';
|
||||
import { BankOutlined } from '@ant-design/icons';
|
||||
import { BankOutlined } from '@/shared/antd-imports';
|
||||
import { IWorklenzNotification } from '@/types/notifications/notifications.types';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { notification } from '@/shared/antd-imports';
|
||||
import { IWorklenzNotification } from '@/types/notifications/notifications.types';
|
||||
import { teamsApiService } from '@/api/teams/teams.api.service';
|
||||
import { toQueryString } from '@/utils/toQueryString';
|
||||
import { BankOutlined } from '@ant-design/icons';
|
||||
import { BankOutlined } from '@/shared/antd-imports';
|
||||
import './push-notification-template.css';
|
||||
|
||||
const PushNotificationTemplate = ({
|
||||
|
||||
Reference in New Issue
Block a user