export const SHOW_PROGRESS_BAR = 'SHOW_PROGRESS_BAR' ; export const HIDE_PROGRESS_BAR = 'HIDE_PROGRESS_BAR' ; export const showProgressBar = ( ) => ( dispatch ) => { dispatch ( { type : SHOW_PROGRESS_BAR , } ) ; } ; export const hideProgressBar = ( ) => ( dispatch ) => { dispatch ( { type : HIDE_PROGRESS_BAR , } ) ; } ;