Merge pull request #9945 from overleaf/ii-last-updated-date-by-translation-unescape-fix

[web] Fix "last updated date by" translation

GitOrigin-RevId: 110974ae69a0471c6988c7dea852fac93ce6bb0d
This commit is contained in:
Alexandre Bourdin 2022-10-12 16:19:26 +02:00 committed by Copybot
parent 2d6e6328a6
commit d553863e3f

View file

@ -16,7 +16,8 @@ export default function LastUpdatedCell({ project }: LastUpdatedCellProps) {
lastUpdatedDate: fromNowDate(project.lastUpdated), lastUpdatedDate: fromNowDate(project.lastUpdated),
person: getUserName(project.lastUpdatedBy), person: getUserName(project.lastUpdatedBy),
}} }}
shouldUnescape // eslint-disable-next-line react/jsx-boolean-value
shouldUnescape={true}
/> />
) : ( ) : (
fromNowDate(project.lastUpdated) fromNowDate(project.lastUpdated)