Skip to content

Commit 020d4f5

Browse files
committed
style(member): self-closing 가능한 태그 정리(#274)
1 parent 44355b8 commit 020d4f5

File tree

8 files changed

+17
-15
lines changed

8 files changed

+17
-15
lines changed

apps/member/src/pages/InquiryListPage/components/InquiryListSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const InquiryListSection = ({ showAll = false }: InquiryListSectionProps) => {
4444
showAll={showAll}
4545
currentOpenItemIndex={currentOpenItemIndex}
4646
onClick={handleTableItemClick}
47-
></InquiryTableRow>
47+
/>
4848
))}
4949
</Table>
5050
</Section.Body>

apps/member/src/pages/InquiryListPage/components/InquiryMySection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Section } from '@components/common/Section';
33
const InquiryMySection = () => {
44
return (
55
<Section>
6-
<Section.Header title="내 문의"></Section.Header>
6+
<Section.Header title="내 문의" />
77
<Section.Body>내 문의사항이 없어요.</Section.Body>
88
</Section>
99
);

apps/member/src/pages/InquiryListPage/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ export default function InquiryIndexPage() {
2121
title={['문의', '전체 문의']}
2222
path={[PATH.INQUIRY, PATH.INQUIRY_LIST]}
2323
>
24-
<InquiryNav></InquiryNav>
24+
<InquiryNav />
2525
</Header>
26+
2627
<Suspense>
27-
<InquiryMySection></InquiryMySection>
28+
<InquiryMySection />
2829
</Suspense>
30+
2931
<Suspense>
30-
<InquiryListSection showAll={true}></InquiryListSection>
32+
<InquiryListSection showAll={true} />
3133
</Suspense>
3234
</Content>
3335
</QueryErrorBoundary>

apps/member/src/pages/InquiryPage/components/InquiryFaqSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const InquiryFqaSetion = () => {
5555
</Section.Header>
5656
<Section.Body>
5757
<div className="flex flex-col gap-4">
58-
<Accodion items={currentItems} resetKey={menu.value}></Accodion>
58+
<Accodion items={currentItems} resetKey={menu.value} />
5959
</div>
6060
</Section.Body>
6161
</Section>

apps/member/src/pages/InquiryPage/components/InquiryIntroduceSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Section } from '@components/common/Section';
33
const InquiryIntroduceSection = () => {
44
return (
55
<Section>
6-
<Section.Header title="문의 사항이 있나요?"></Section.Header>
6+
<Section.Header title="문의 사항이 있나요?" />
77
<Section.Body>
88
<span>
99
맴버스 사이트 오류 제보, 동아리 활동 문의 등 다양한 문의사항을 편하게

apps/member/src/pages/InquiryPage/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ export default function InquiryPage() {
1717
>
1818
<Content>
1919
<Header title="문의">
20-
<InquiryNav></InquiryNav>
20+
<InquiryNav />
2121
</Header>
2222

2323
<Suspense>
24-
<InquiryIntroduceSection></InquiryIntroduceSection>
24+
<InquiryIntroduceSection />
2525
</Suspense>
2626

2727
<Suspense>
28-
<InquiryFaqSection></InquiryFaqSection>
28+
<InquiryFaqSection />
2929
</Suspense>
3030

3131
<Suspense>
32-
<InquiryListSection></InquiryListSection>
32+
<InquiryListSection />
3333
</Suspense>
3434
</Content>
3535
</QueryErrorBoundary>

apps/member/src/pages/InquiryWritePage/components/InquiryWriteIntroduceSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { WriteIntroduceData } from '@pages/InquiryPage/staticData';
99
const InquiryWriteIntroduceSection = () => {
1010
return (
1111
<Section>
12-
<Section.Header title="문의 안내 사항"></Section.Header>
12+
<Section.Header title="문의 안내 사항" />
1313
<Section.Body>
1414
<div className="mb-4">
1515
문의하고 싶은 내용을 이미 C-Lab 회원이 질문 했을 수도 있어요.
@@ -30,7 +30,7 @@ const InquiryWriteIntroduceSection = () => {
3030
</Link>{' '}
3131
에 원하는 답변 없다면 아래 안내사항을 읽고 문의 해주세요.
3232
</div>
33-
<Accodion items={WriteIntroduceData}></Accodion>
33+
<Accodion items={WriteIntroduceData} />
3434
</Section.Body>
3535
</Section>
3636
);

apps/member/src/pages/InquiryWritePage/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export default function InquiryWritePage() {
2222
/>
2323

2424
<Suspense>
25-
<InquiryWriteIntroduceSection></InquiryWriteIntroduceSection>
25+
<InquiryWriteIntroduceSection />
2626
</Suspense>
2727

2828
<Suspense>
29-
<InquiryForm></InquiryForm>
29+
<InquiryForm />
3030
</Suspense>
3131
</Content>
3232
</QueryErrorBoundary>

0 commit comments

Comments
 (0)