Skip to content

Commit

Permalink
Update MonthlyCheckIn to use month instead of title in check-in compo…
Browse files Browse the repository at this point in the history
…nents
  • Loading branch information
mayura-andrew committed Dec 10, 2024
1 parent feee174 commit 45c2ff7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/MonthlyChecking/MenteeMonthlyChecking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const CheckInItem: React.FC<CheckInItemProps> = ({ checkIn }) => {
>
<div className="flex justify-between items-center">
<h4 className="text-lg font-medium text-gray-700 truncate flex-1">
{checkIn.title}
{checkIn.month}
</h4>
<ArrowIcon isExpanded={isExpanded} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MonthlyChecking/MentorMonthlyChecking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const CheckInItem: React.FC<CheckInItemProps> = ({
>
<div className="flex justify-between items-center">
<h4 className="text-lg font-medium text-gray-700 truncate flex-1">
{checkIn.title}
{checkIn.month}
</h4>
<ArrowIcon isExpanded={isExpanded} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export type MenteeCheckInForm = z.infer<typeof MenteeCheckInSchema>;

export interface MonthlyCheckIn {
uuid: string;
title: string;
month: string;
checkInDate: string;
mediaContentLinks: string[];
isCheckedByMentor: boolean;
Expand Down

0 comments on commit 45c2ff7

Please sign in to comment.