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 23, 2024
2 parents 590cbc4 + 555c6e9 commit 8219cc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/api/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export interface ChangeStatus {

export interface FloorClass {
user_id: string;
id: string;
class_num: number;
classroom_name: string;
end_period: number;
Expand Down
2 changes: 1 addition & 1 deletion src/app/classChange/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const ClassChange = () => {
<ChangeClass
type="accept"
key={index}
onClick={() => handleAcceptListClick(item.user_id, item.username)}
onClick={() => handleAcceptListClick(item.id, item.username)}
prevClass={item.move}
nextClass={`${item.classroom_name}`}
student={getStudentString(item)}
Expand Down
6 changes: 2 additions & 4 deletions src/app/outAccept/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,12 @@ const OutAccept = () => {
))
: applicationData?.map((item, index) => (
<NonReturn
id={item.user_id}
id={item.id}
type="accept"
key={index}
returnTime={`${item.start_time}~`}
name={getStudentString(item)}
onClick={() =>
handleAcceptListClick(item.user_id, item.username)
}
onClick={() => handleAcceptListClick(item.id, item.username)}
reason={item.reason}
/>
))}
Expand Down

0 comments on commit 8219cc1

Please sign in to comment.