diff --git a/src/components/assignment-panel/assignment-info/assignment-info.tsx b/src/components/assignment-panel/assignment-info/assignment-info.tsx index 38f6d4b..be7a849 100644 --- a/src/components/assignment-panel/assignment-info/assignment-info.tsx +++ b/src/components/assignment-panel/assignment-info/assignment-info.tsx @@ -53,7 +53,7 @@ export const AssignmentInfo = ({ }: AssignmentInfoProps) => { backgroundColor = "var(--jp-error-color1)" text = ( - { new DateFormat(assignment.adjustedDueDate!).toRelativeDatetime() } past due + { new DateFormat(assignment.adjustedDueDate!).toRelativeDatetimeNoArticle() } past due ) tooltip = `You never submitted this assignment. Please contact your instructor${ course.instructors.length > 1 ? "s" : "" } to request an extension` diff --git a/src/components/assignment-panel/assignment-submissions/assignment-submissions.tsx b/src/components/assignment-panel/assignment-submissions/assignment-submissions.tsx index 3e2960f..cb95154 100644 --- a/src/components/assignment-panel/assignment-submissions/assignment-submissions.tsx +++ b/src/components/assignment-panel/assignment-submissions/assignment-submissions.tsx @@ -30,8 +30,10 @@ export const AssignmentSubmissions = ({ ...props }: AssignmentSubmissionsProps) if (!assignment) return null if (assignment.submissions.length === 0) return (
- You haven't made any submissions for this assignment yet. - To submit your work, press the "Submit" button at the bottom of the page. +
+ You haven't made any submissions for this assignment yet. + To submit your work, press the "Submit" button at the bottom of the page. +
) return (