diff --git a/Plan/react/dashboard/src/components/text/FormattedDate.js b/Plan/react/dashboard/src/components/text/FormattedDate.js index 761e937d1..af5be08a0 100644 --- a/Plan/react/dashboard/src/components/text/FormattedDate.js +++ b/Plan/react/dashboard/src/components/text/FormattedDate.js @@ -9,7 +9,7 @@ const FormattedDate = ({date}) => { const {timeZoneOffsetHours} = useMetadata(); const {preferencesLoaded, dateFormatNoSeconds, recentDaysInDateFormat} = usePreferences(); - if (!preferencesLoaded) return <> + if (!preferencesLoaded || date === undefined || date === null) return <> const pattern = dateFormatNoSeconds; const recentDays = recentDaysInDateFormat;