             }
         </div>
 
+mapStateToProps = () -> {}
+mapDispatchToProps = (dispatch) ->
+    showNotification: (notification, cl) -> dispatch(Notifications.show(notification, cl))
+
+CommentListWithNotifications = connect(mapStateToProps, mapDispatchToProps)(CommentList)
+
+
 options = {
     urls: (props) ->
         return
             myUser: "myUser"
             data: "lastComments"
 
-    timeout: 20 * 1000
+    timeout: 20000
 }
 
-export default ConnectedComponent(CommentList, options)
+export default ConnectedComponent(CommentListWithNotifications, options)

                autoDismiss: 0,
                children:
                    <Link to="/material/#{comment.problemId}">Перейти к задаче</Link>
            @props.dispatch(Notifications.show(notification, cl));

    render:  () ->
        if not @props.myUser?._id

import Panel from 'react-bootstrap/lib/Panel'
import {bootstrapUtils} from 'react-bootstrap/lib/utils'
import {Link} from 'react-router-dom'
import { connect } from 'react-redux'

import Notifications from 'react-notification-system-redux';

