| | |
| | | |
| | | 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 }, |
| | |
| | | alignItems="center" |
| | | gap={3} |
| | | sx={{ |
| | | height: `calc(100dvh - ${appbarHeight}px)`, |
| | | height: `calc(100dvh - ${appBarHeight}px)`, |
| | | }} |
| | | > |
| | | <img src="./img/empty.svg" alt="No contacts found" /> |