Skip to content

Commit 740b94c

Browse files
committed
feat : 투표 결과 확인 시 투표 제목도 나오게
1 parent d0304f3 commit 740b94c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

services/admin/src/apis/votes/response.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ interface VoteResult {
4444

4545
export interface VoteResultResponse {
4646
votes: VoteResult[];
47+
voting_topic_name: string;
4748
}

services/admin/src/pages/survey/SurveyResult.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const SurveyResult = () => {
1515
<WithNavigatorBar>
1616
<_Wrapper>
1717
<_Header>
18-
모범학생 투표 결과
18+
{data?.voting_topic_name}
1919
<span>{formattedDate}</span>
2020
</_Header>
2121
<_Contents>

0 commit comments

Comments
 (0)