ee9f63a161
bugfix wip flow fix cleaning clean
12 lines
293 B
JavaScript
12 lines
293 B
JavaScript
// @flow
|
|
import * as ACTIONS from 'constants/action_types';
|
|
|
|
export const doUpdateUploadProgress = (
|
|
progress: string,
|
|
params: { [key: string]: any },
|
|
xhr: any
|
|
) => (dispatch: Dispatch) =>
|
|
dispatch({
|
|
type: ACTIONS.UPDATE_UPLOAD_PROGRESS,
|
|
data: { progress, params, xhr },
|
|
});
|