From fdee6468dd287a6ba4ec4ddda98c84806b75fa57 Mon Sep 17 00:00:00 2001 From: ALBERICLOOS Date: Thu, 23 May 2024 20:29:52 +0200 Subject: [PATCH] other bug fixed --- frontend/src/components/ProjectTeacherComponent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/ProjectTeacherComponent.tsx b/frontend/src/components/ProjectTeacherComponent.tsx index df2e260e..71080837 100644 --- a/frontend/src/components/ProjectTeacherComponent.tsx +++ b/frontend/src/components/ProjectTeacherComponent.tsx @@ -97,8 +97,8 @@ export function ProjectTeacherComponent(props: { const course_options = props.project.all_courses.filter(course => !course.course_archived).map(course => course.course_name); - const hours_array = Array.from({length: 24}, (_, index) => index.toString().padStart(2, '0')); - const minutes_array = Array.from({length: 60}, (_, index) => index.toString().padStart(2, '0')); + const hours_array = Array.from({length: 24}, (_, index) => index.toString()); + const minutes_array = Array.from({length: 60}, (_, index) => index.toString()); // SimpleTests const [requiredFilesHasChanged, setRequiredFilesHasChanged] = useState(false);