UNPKG

@wenn/onb

Version:

onb-core

21 lines (17 loc) 335 B
import { SAVE_LOADING } from '../constants'; function saveLoadingRedux(loading) { return { type: SAVE_LOADING, loading }; } export function loadingPage(data) { return dispatch => { dispatch(saveLoadingRedux(data)); }; } export function nextPage() { return dispatch => { dispatch(loadingPage(true)); }; }