export const createActionWithGlobalState = actionObject => (dispatch, getState) => {
    const globalState = getState();
    return dispatch({
        ...actionObject,
        globalState,
    });
};
