Skip to content

Commit

Permalink
Private note prewrap (to display the new lines)
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed May 14, 2024
1 parent a5ba64c commit a804dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/app/admin/_components/GrantReview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export const GrantReview = ({ grant, selected, toggleSelection }: GrantReviewPro
</div>
</div>
{grant.private_note && grant.private_note.trim().length > 0 && (
<p className="mb-0 text-orange-500">{grant.private_note}</p>
<p className="mb-0 text-orange-500 whitespace-pre-wrap">{grant.private_note}</p>
)}
</div>
<EditGrantModal ref={editGrantModalRef} grant={grant} closeModal={() => editGrantModalRef?.current?.close()} />
Expand Down

0 comments on commit a804dbb

Please sign in to comment.