pramod_Task-#280 - Fetched & Display Contact List in Directory #107
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "pramod_Task-#280"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created DirectoryRepository to manage API calls.
Added method GetContacts using axiosClient.
Endpoint: /api/directory.
Created custom hook useDirectory to call DirectoryRepository.GetContacts().
Called this hook inside Directory component to fetch data on mount.
Created separate view component ListViewDirectory to display the contact list.
pramod_Task-#280to pramod_Task-#280 - Fetched & Display Contact List in Directory