芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/.cache/admin/src/containers/NewNotification/index.js
/** * * 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);