File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
src/app/(pages)/test-page Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 1- // }
21'use client'
32
43import { useEffect , useState } from 'react'
@@ -7,12 +6,6 @@ import { TeamListItem } from '@/types/api/team.types'
76import { useTeamRecruitmentList } from 'queries/team/useTeamList'
87
98
10- // }
11-
12- // }
13-
14- // }
15-
169export default function Page ( ) : JSX . Element {
1710 const { data : teamList , isLoading, error } = useTeamRecruitmentList ( )
1811 if ( isLoading ) {
@@ -28,10 +21,10 @@ export default function Page(): JSX.Element {
2821 < ul >
2922 { teamList ?. map ( ( team : TeamListItem ) => (
3023 < li key = { team . id } >
31- < h2 > { team . teamTitle } </ h2 >
32- < p > { team . teamContent } </ p >
24+ < h2 > { team . teamTitle } </ h2 >
3325 < h3 > { team . teamIsActive } </ h3 >
34- < h3 > { team . member . nickname } </ h3 >
26+ < p > { team . teamContent } </ p >
27+ < h5 > { team . member . nickname } </ h5 >
3528 </ li >
3629 ) ) }
3730 </ ul >
You can’t perform that action at this time.
0 commit comments