feat: Improve Contact list (#10522)

This commit is contained in:
Sivin Varghese
2024-12-03 07:53:41 +05:30
committed by GitHub
parent 86bd339a47
commit 062587487a
6 changed files with 66 additions and 40 deletions

View File

@@ -70,6 +70,7 @@ export const actions = {
data: response.data,
filterType: FILTER_KEYS[obj.filter_type],
});
return response;
} catch (error) {
const errorMessage = error?.response?.data?.message;
throw new Error(errorMessage);