diff --git a/src/pages/participant/fields.tsx b/src/pages/participant/fields.tsx index 3017cf1..f1de2b4 100644 --- a/src/pages/participant/fields.tsx +++ b/src/pages/participant/fields.tsx @@ -104,10 +104,11 @@ function TextAreaField({title, description, data}: FieldProps) { } function DateField({title, description, data}: FieldProps) { + const date = data ? formatDatetime(data) : ''; return (
- {formatDatetime(data)} + {date}
); }