diff --git a/src/components/admin-dashboard/ClassAssignmentCard.tsx b/src/components/admin-dashboard/ClassAssignmentCard.tsx index e4f2ba86c..1db5735e2 100644 --- a/src/components/admin-dashboard/ClassAssignmentCard.tsx +++ b/src/components/admin-dashboard/ClassAssignmentCard.tsx @@ -60,7 +60,7 @@ const ClassAssignmentCard: React.FC = ({ data, type })
-

Due date

+

{type === 'assignment' ? 'Due date' : 'Scheduled at'}

{type === 'assignment' && 'dueDate' in data && ( <> @@ -75,7 +75,7 @@ const ClassAssignmentCard: React.FC = ({ data, type })

-

Due time

+

{type === 'assignment' ? 'Due time' : 'Timing'}

{type === 'assignment' && 'dueTime' in data && ( <>