Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuna committed Aug 9, 2024
2 parents 4173fed + 8e7fe4d commit 13096f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/api/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export interface changeClass {
grade: number;
id: string;
num: number;
move: string;
user_id: string;
username: string;
}
2 changes: 1 addition & 1 deletion src/app/classChange/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const ClassChange = () => {
type="accept"
key={index}
onClick={() => handleAcceptListClick(item.id, item.username)}
prevClass={`${item.grade}-${item.class_num}`}
prevClass={item.move}
nextClass={`${item.classroom_name}`}
student={getStudentString(item)}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/app/classChange/status/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const ClassChangeOk = () => {
{floorData?.map((item, index) => (
<ChangeClass
key={index}
prevClass={`${item.grade}-${item.class_num}`}
prevClass={item.move}
nextClass={item.classroom_name}
student={getStudentString(item)}
/>
Expand Down

0 comments on commit 13096f6

Please sign in to comment.