text: import { MARK_AS_READ, SET_TYPE_FILTER } from './notificationActionTypes';
  
  
  export const markAsAread = (index) => {
    return {
      type: MARK_AS_READ,
      index: index
    };  
  };
  export const boundMarkAsAread = (index) => dispatch(markAsAread(index));
  
  export const setNotificationFilter = (filter) => {
    return {
      type: SET_TYPE_FILTER,
      filter: filter
    };
  };
  export const boundSetNotificationFilter = (index) => dispatch(setNotificationFilter(filter));
  