+
+ {list.map((r) => {
+ const queryString = new URLSearchParams();
+ queryString.set('rid', String(r.id));
+ const href = `/club/${clubId}?${queryString.toString()}`;
+
+ return (
+
+
+
+
+
+ );
+ })}
+
+
+
+
+
+
+
+
+ >
+ );
+}
+
+export default RecruitHistorySection;
diff --git a/src/views/club/api/getClubRecruitments.tsx b/src/views/club/api/getClubRecruitments.tsx
new file mode 100644
index 0000000..50f97f1
--- /dev/null
+++ b/src/views/club/api/getClubRecruitments.tsx
@@ -0,0 +1,28 @@
+import ErrorHandler from '@/shared/lib/error-message';
+import { ApiResponse } from '@/shared/model/type';
+import api from '@/shared/api/auth-api';
+import { auth } from '@/auth';
+import serverApi from '@/shared/api/server-api';
+import { ClubRecruitmentsResponse } from '../model/type';
+
+async function getClubRecruitments(clubId: number) {
+ const session = await auth();
+ try {
+ let response: ApiResponse