|
|
|
@ -10,7 +10,7 @@ import Button from '../../ui/button'; |
|
|
|
|
import Popover from '../../ui/popover'; |
|
|
|
|
import Typography from '../../ui/typography'; |
|
|
|
|
import { updateViewedNotifications } from '../../../store/actions'; |
|
|
|
|
import { getTranslatedUINoficiations } from '../../../../shared/notifications'; |
|
|
|
|
import { getTranslatedUINotifications } from '../../../../shared/notifications'; |
|
|
|
|
import { getSortedAnnouncementsToShow } from '../../../selectors'; |
|
|
|
|
import { |
|
|
|
|
BUILD_QUOTE_ROUTE, |
|
|
|
@ -241,7 +241,7 @@ export default function WhatsNewPopup({ onClose }) { |
|
|
|
|
> |
|
|
|
|
<div className="whats-new-popup__notifications"> |
|
|
|
|
{notifications.map(({ id }, index) => { |
|
|
|
|
const notification = getTranslatedUINoficiations(t, locale)[id]; |
|
|
|
|
const notification = getTranslatedUINotifications(t, locale)[id]; |
|
|
|
|
const isLast = index === notifications.length - 1; |
|
|
|
|
// Display the swaps notification with full image
|
|
|
|
|
return index === 0 || id === 1 |
|
|
|
|