Skip to content

Commit

Permalink
fix preview
Browse files Browse the repository at this point in the history
  • Loading branch information
UdaySagar-Git committed Jul 12, 2024
1 parent 362b80b commit 6a472cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/PatientNoteCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,14 @@ const PatientNoteCard = ({
>
<MarkdownPreview markdown={noteField} />
<div className="flex gap-2">
{note.files.map((file) => (
{note.files.map((file: any) => (
<div
key={file.id}
className="relative mt-1 h-20 w-20 cursor-pointer rounded-md bg-gray-100 shadow-sm hover:bg-gray-200"
>
<div
className="flex h-full w-full flex-col items-center justify-center p-2"
onClick={() => loadFile(file.id!, note.id)}
onClick={() => loadFile(file.external_id, note.id)}
>
<CareIcon
icon="l-file"
Expand Down

0 comments on commit 6a472cb

Please sign in to comment.