feat: Improve Contact list (#10522)

This commit is contained in:
Sivin Varghese
2024-12-02 18:23:41 -08:00
committed by GitHub
parent 86bd339a47
commit 062587487a
6 changed files with 66 additions and 40 deletions
@@ -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);