#
luxiaotao1123
2024-09-29 551aa6e5c2f92d57cdcc67c579b6259e88ff2b27
zy-acs-flow/src/page/mission/MissionEmpty.jsx
@@ -8,11 +8,11 @@
export const MissionEmpty = ({ children }) => {
    const location = useLocation();
    const matchCreate = matchPath('/deals/create', location.pathname);
    const appbarHeight = useAppBarHeight();
    const matchCreate = matchPath('/mission/create', location.pathname);
    const appBarHeight = useAppBarHeight();
    // get Contact data
    const { data: contacts, isPending: contactsLoading } = useGetList<Contact>(
    const { data: contacts, isPending: contactsLoading } = useGetList(
        'contacts',
        {
            pagination: { page: 1, perPage: 1 },
@@ -27,7 +27,7 @@
            alignItems="center"
            gap={3}
            sx={{
                height: `calc(100dvh - ${appbarHeight}px)`,
                height: `calc(100dvh - ${appBarHeight}px)`,
            }}
        >
            <img src="./img/empty.svg" alt="No contacts found" />