Skip to content

Conversation

@KuzminIvan232
Copy link

The dedicated data fetching functions (getCustomerData and getCustomerDetails) were extracted from the components (Customers.js and CustomerDetails.js) and placed into a new, centralized service file: src/services/CustomerService.js.

The components now import and call these service functions instead of directly interacting with axios and constructing file paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant