import * as React from 'react'; import Box from '@mui/material/Box'; import Stack from '@mui/material/Stack'; import useNotifications from 'hooks/useNotifications'; import Container from 'components/Container'; import NotificationCard from 'components/NotificationCard'; import PageTitle from 'components/PageTitle'; import useFormatMessage from 'hooks/useFormatMessage'; interface INotification { name: string; createdAt: string; documentationUrl: string; description: string; } export default function Updates(): React.ReactElement { const formatMessage = useFormatMessage(); const notifications = useNotifications(); return ( {formatMessage('notifications.title')} {notifications.map((notification: INotification) => ( ))} ); };