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 27, 2024
2 parents ae67535 + 9ddc817 commit 4a2d947
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/api/type.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
export interface applicationOK {
user_id: string;
username: string;
start_time: string;
start: string;
id: string;
end_time: string;
end: string;
grade: number;
class_num: number;
num: number;
reason: string;
start_time: string;
}

export interface earlyReturnHome {
Expand Down
2 changes: 1 addition & 1 deletion src/app/outAccept/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const OutAccept = () => {
id={item.user_id}
type="accept"
key={index}
returnTime={`${item.start_time}~${item.end_time}`}
returnTime={`${item.start}~${item.end}`}
name={getStudentString(item)}
onClick={() => handleAcceptListClick(item.id, item.username)}
reason={item.reason}
Expand Down
2 changes: 1 addition & 1 deletion src/app/outList/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const OutList = () => {
id={item.id}
type="application"
key={index}
returnTime={item.end_time}
returnTime={item.end}
name={getStudentString(item)}
reason={item.reason}
/>
Expand Down

0 comments on commit 4a2d947

Please sign in to comment.