|
|
|
@ -1,15 +1,12 @@
|
|
|
|
|
import { useNavigate } from 'react-router-dom';
|
|
|
|
|
import { memo, useCallback, useEffect, useRef, useState, forwardRef } from 'react';
|
|
|
|
|
import { Row, Col, Divider, Table, Card, Button, Input, Flex, Layout, Space, Empty, Radio, Select, DatePicker, Form, List, Avatar, Spin, Image } from 'antd';
|
|
|
|
|
import { StarFilled, ZoomInOutlined, StarOutlined, SearchOutlined } from '@ant-design/icons';
|
|
|
|
|
import { ChatList, ChatItem, MessageBox } from 'react-chat-elements';
|
|
|
|
|
import { Divider, Button, Input, Layout, Select, DatePicker, Form, List, Spin } from 'antd';
|
|
|
|
|
import { ChatItem, MessageBox } from 'react-chat-elements';
|
|
|
|
|
import { fetchConversationsList, fetchMessages, MESSAGE_PAGE_SIZE } from '@/actions/ConversationActions';
|
|
|
|
|
import { isEmpty } from '@/utils/utils';
|
|
|
|
|
import useFormStore from '@/stores/FormStore';
|
|
|
|
|
import { useShallow } from 'zustand/react/shallow';
|
|
|
|
|
|
|
|
|
|
import { fetchSalesAgent } from '@/actions/CommonActions';
|
|
|
|
|
// import SearchInput from '@/components/SearchInput2';
|
|
|
|
|
import SearchInput from '@/components/SearchInput';
|
|
|
|
|
|
|
|
|
|
const { Sider, Content, Header, Footer } = Layout;
|
|
|
|
|