Open ViktorNemuchin opened 2 years ago
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/form-log-In/form-log-in.js#L140
Создать папку API и вынести все вызовы axios в отдельные js. файлы внутри нее
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/all-employees/all-employees.js#L34
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/app/app.js#L68
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/role-creation/modal-role-creation/modal-role-creation.js#L62
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/sales-funnel/change-funnel/change-funnel.js#L49
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/sales-funnel/change-funnel/change-funnel.js#L64
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/saubscriptions/subscriptions.js#L40
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/saubscriptions/addSubscriptions/addSubscriptions.js#L23
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/teacher/formTeacher/formTeacher.js#L26
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/AdminPanel/src/components/teacher/formTeacher/formTeacher.js#L54
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/home-page-tutor/today/lesson-now/table-pupils/write-%D1%81omment/write-comment.js#L7
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/home-page-tutor/today/lesson-now/table-pupils/change-schedule/change-schedule.js#L7
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/home-page/%23more-functions/add-student_group/add-Student_Group.js#L75
https://github.com/GrapeoffJS/CRMDev/blob/2e601a5ba17f56235ca7f83cbc00b2f4f0220694/client/CRM/src/components/form-log-In/form-log-in.js#L140
Создать папку API и вынести все вызовы axios в отдельные js. файлы внутри нее