We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b313a94 + c4bc918 commit fe1de08Copy full SHA for fe1de08
service-manager/src/components/apply-list/ApplyList.tsx
@@ -23,7 +23,6 @@ export const ApplyList = ({ eventId }: ApplyListProps) => {
23
.filter(
24
(registration) => registration.sectorNum === sector.sectorNumber,
25
)
26
- .sort((a, b) => (a.id < b.id ? -1 : 1))
27
.map((registration, index) => ({
28
구간: registration.sectorNum,
29
순서: index + 1,
service-manager/src/hooks/react-query/useRegistration.tsx
@@ -6,5 +6,5 @@ export const useAllRegistrationQuery = (eventId: string) => {
6
queryKey: ['allRegistration', eventId],
7
queryFn: () => getAllRegistration(eventId),
8
});
9
- return { registrations: data.sort((a, b) => a.id - b.id) };
+ return { registrations: data };
10
};
0 commit comments