<FormattedDate
value={new Date(1656360692499)}
day="numeric"
month="long"
year="numeric"
/>
The provider looks like that
<IntlProvider
locale={locale}
messages={messages}
textComponent="span"
defaultRichTextElements={{
lineBreak: <br />,
}}
>
...
</IntlProvider>
The error message is the standard react one: "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined."
Has it happened to anyone?