Merge branch 'imp/invite--improvement' into test/invitation-process
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { AutoComplete, Button, Drawer, Flex, Form, message, Modal, Select, Spin, Typography } from 'antd';
|
||||
import { AutoComplete, Button, Drawer, Flex, Form, message, Modal, Select, Spin, Typography } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
import { PlusOutlined, UserAddOutlined } from '@ant-design/icons';
|
||||
import { PlusOutlined, UserAddOutlined } from '@/shared/antd-imports';
|
||||
import { useAppSelector } from '@/hooks/useAppSelector';
|
||||
import { useAppDispatch } from '@/hooks/useAppDispatch';
|
||||
import { toggleProjectMemberDrawer } from '@/features/projects/singleProject/members/projectMembersSlice';
|
||||
|
||||
@@ -4,7 +4,7 @@ import Icon, {
|
||||
ClockCircleOutlined,
|
||||
CloseCircleOutlined,
|
||||
StopOutlined,
|
||||
} from '@ant-design/icons';
|
||||
} from '@/shared/antd-imports';
|
||||
|
||||
const iconMap = {
|
||||
'clock-circle': ClockCircleOutlined,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { AvatarNamesMap } from '@/shared/constants';
|
||||
import { Avatar, Flex, Space } from 'antd';
|
||||
import { Avatar, Flex, Space } from '@/shared/antd-imports';
|
||||
|
||||
interface SingleAvatarProps {
|
||||
avatarUrl?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { MenuProps } from 'antd';
|
||||
import type { MenuProps } from '@/shared/antd-imports';
|
||||
import {
|
||||
Empty,
|
||||
List,
|
||||
@@ -10,8 +10,7 @@ import {
|
||||
Image,
|
||||
Input,
|
||||
Flex,
|
||||
Button,
|
||||
} from 'antd';
|
||||
} from '@/shared/antd-imports';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { useSelector } from 'react-redux';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@@ -23,7 +22,7 @@ import {
|
||||
IWorklenzTemplate,
|
||||
} from '@/types/project-templates/project-templates.types';
|
||||
import './template-drawer.css';
|
||||
import { SearchOutlined } from '@ant-design/icons';
|
||||
import { SearchOutlined } from '@/shared/antd-imports';
|
||||
import logger from '@/utils/errorLogger';
|
||||
|
||||
const { Title, Text } = Typography;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { Tooltip, TooltipProps } from 'antd';
|
||||
import { Tooltip, TooltipProps } from '@/shared/antd-imports';
|
||||
|
||||
interface TooltipWrapperProps extends Omit<TooltipProps, 'children'> {
|
||||
children: React.ReactElement;
|
||||
|
||||
Reference in New Issue
Block a user