text: 
  // ------------------------------------
  // Constants
  // ------------------------------------
  const PAGENAVINIT = 'PAGENAVINIT'
  // const PAGENUM = 'PAGENUM'
  // const PAGERESET = 'PAGERESET'
  
  // ------------------------------------
  // Actions
  // ------------------------------------
  
  export function pageNavInitiation(update) {
    console.log(update)
    return (dispatch, getState) => {
        dispatch({type:PAGENAVINIT,update:update})
    }
  }
  
  // export function pageNumChange(text) {
  //   return (dispatch, getState) => {
  //       dispatch({type:PAGENUM,currentPage:text})
  //   }
  // }
  
  // export function pageReset(text) {
  //   return (dispatch, getState) => {
  //       dispatch({type:PAGERESET})
  //   }
  // }
  
  
  // ------------------------------------
  // Action Handlers
  // ------------------------------------
  const ACTION_HANDLERS = {
    [PAGENAVINIT]: (state, action) => {
      return ({...state,update:action.update})
    },
    // [PAGENUM]: (state, action) => {
    //   return ({...state,currentPage:action.currentPage})
    // },
    // [PAGERESET]: (state, action) => {
    //   return ({...state,pageNums:1,currentPage:1,isloaded:false})
    // },
  }
  
  // ------------------------------------
  // Reducer
  // ------------------------------------
  export const initialState = {
    update:null,
    // currentPage:1,
    // isUpdate:false
  }
  
  export default function (state = initialState, action) {
    const handler = ACTION_HANDLERS[action.type]
    return handler ? handler(state, action) : state
  }
  