Skip to content

Commit

Permalink
Merge pull request #95 from woohaengshi/57-feature-ranking-api-contect
Browse files Browse the repository at this point in the history
[fix/#58]:저장버튼삭제
  • Loading branch information
doyi0107 authored Aug 27, 2024
2 parents 5da4fc0 + 14c0e5f commit e8d0830
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/subjectFormApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ export const getSubjectEditList = async (): Promise<SubjectsResponse> => {
return response;
};

// 선택된 과목명 get??
// 선택된 과목명 get??
2 changes: 1 addition & 1 deletion components/ranking/fullRankingList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function FullRankingList({ rankings, currentUser, activeTab, load
</tr>
{allRankings.map((student) => (
<tr key={student.id} className={styles.full_ranking_student}>
<td>{student.rank}</td>
<td>{currentUser && student.id === currentUser.id ? '-' : student.rank}</td>
<td>
{student.image && (
<Image src={student.image} alt={`${student.name} 프로필 이미지`} className={styles.student_image} />
Expand Down
6 changes: 3 additions & 3 deletions components/study/SubjectSelectForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export default function SubjectSelectForm({ onEditClick, onSaveClick }: SubjectS
</div>

<div className={styles.subject_edit_form_btn_wrap}>
<button type="submit" className={styles.subject_edit_form_btn_save} onClick={onSaveClick}>
{/* <button type="submit" className={styles.subject_edit_form_btn_modify} onClick={onSaveClick}>
저장
</button>
<button className={styles.subject_edit_form_btn_modify} onClick={onEditClick}>
</button> */}
<button className={styles.subject_edit_form_btn_save} onClick={onEditClick}>
과목편집
</button>
</div>
Expand Down

0 comments on commit e8d0830

Please sign in to comment.