From 551aa6e5c2f92d57cdcc67c579b6259e88ff2b27 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 29 九月 2024 09:50:01 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/mission/MissionEmpty.jsx | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/zy-acs-flow/src/page/mission/MissionEmpty.jsx b/zy-acs-flow/src/page/mission/MissionEmpty.jsx
index 84d66eb..c7286dd 100644
--- a/zy-acs-flow/src/page/mission/MissionEmpty.jsx
+++ b/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" />
--
Gitblit v1.9.1