function* changePage (action) {
  yield put(setCurrentPage(action.payload))
  yield refreshData(refresh({
    onNavigation: true,
    shallowFetch: true,
    page: yield select(state => state.vms.get('page')),
  }))
}
/**
 * Change the current page type (based on `routes.js`) at the time of navigation to the page.
 */
Change the current page type (based on `routes.js`) at the time of navigation to the page.
Change the current page type ( based on ` routes . js ` ) at the time of navigation to the page .
function* changePage (action) {
  yield put(setCurrentPage(action.payload))
  yield refreshData(refresh({
    onNavigation: true,
    shallowFetch: true,
    page: yield select(state => state.vms.get('page')),
  }))
}
function * changePage ( action ) { yield put ( setCurrentPage ( action . payload ) ) yield refreshData ( refresh ( { onNavigation : true , shallowFetch : true , page : yield select ( state => state . vms . get ( 'page' ) ) , } ) ) }
Change the current page type (based on `routes.js`) at the time of navigation to the page.
Change the current page type ( based on ` routes . js ` ) at the time of navigation to the page .