| | |
| | | |
| | | 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 < Contact > ( |
| | | 'contacts', |
| | | { |
| | | pagination: { page: 1, perPage: 1 }, |