From 7e5ffe277461fa1fa23c3d192f89c756a078f41a Mon Sep 17 00:00:00 2001 From: Junior331 Date: Sat, 15 Jun 2024 23:12:17 -0300 Subject: [PATCH] Fix: adjusting bug --- src/components/Approved/ApprovedList/mock.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Approved/ApprovedList/mock.ts b/src/components/Approved/ApprovedList/mock.ts index e2af4b5..9407911 100644 --- a/src/components/Approved/ApprovedList/mock.ts +++ b/src/components/Approved/ApprovedList/mock.ts @@ -16,20 +16,20 @@ export const coursesData: Record = { widthContainerTitle: '300px', title: 'Front-end', coursePresentation: '', - courseModules: approvedListMock.frontend.sort(), + courseModules: approvedListMock.frontend.sort((a, b) => a.localeCompare(b)), }, backEnd: { backgroundTitle: '#1e6f7a', widthContainerTitle: '293px', title: 'Back-end', coursePresentation: '', - courseModules: approvedListMock.backend.sort(), + courseModules: approvedListMock.backend.sort((a, b) => a.localeCompare(b)), }, design: { backgroundTitle: '#45408e', widthContainerTitle: '173px', title: 'Design UI/UX', coursePresentation: '', - courseModules: approvedListMock.design.sort(), + courseModules: approvedListMock.design.sort((a, b) => a.localeCompare(b)), }, };