Skip to content

Commit

Permalink
fix: new line in notification contet
Browse files Browse the repository at this point in the history
  • Loading branch information
lennygir committed Jan 16, 2024
1 parent a2b24c2 commit fb24dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/NotificationRow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function NotificationRow(props) {
return (
<TableRow key={notification.id}>
<TableCell>{notification.object}</TableCell>
<TableCell>{notification.content}</TableCell>
<TableCell style={{ whiteSpace: 'pre-line' }}>{notification.content}</TableCell>
<TableCell>{dayjs(notification.date).format("DD/MM/YYYY")}</TableCell>
</TableRow>
);
Expand Down

0 comments on commit fb24dfc

Please sign in to comment.