Skip to content

Commit

Permalink
use edited_date
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 authored Dec 27, 2023
1 parent 430d8ec commit 1220789
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Components/Facility/PatientNoteCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ const PatientNoteCard = ({
>
<div className="tooltip inline">
<span className="tooltip-text tooltip-bottom">
{formatDateTime(note.edits[0].edited_on)}
{formatDateTime(note.edits[0].edited_date)}
</span>
Edited {relativeDate(note.edits[0].edited_on, true)}
Edited {relativeDate(note.edits[0].edited_date, true)}
</div>
<CareIcon
icon="l-history"
Expand Down Expand Up @@ -162,7 +162,7 @@ const PatientNoteCard = ({
{isLast ? "Created" : "Edited"} On
</p>
<p className="text-sm text-gray-900">
{formatDateTime(edit.edited_on)}
{formatDateTime(edit.edited_date)}
</p>
</div>
<div className="grow">
Expand Down

0 comments on commit 1220789

Please sign in to comment.