/** * * NotificationsContainer * */ import React, { memo } from 'react'; import { useSelector } from 'react-redux'; import { CSSTransition } from 'react-transition-group'; import Notification from './Notification'; import NotificationsWrapper from './Wrapper'; const NotificationsContainer = () => { const notifications = useSelector(state => state.get('newNotification').notifications); return ( {notifications.map(notification => ( ))} ); }; export default memo(NotificationsContainer);