export const createStream = formValues => async (dispatch, getState) => {
const { userId } = getState().auth;
const response = await streams.post('/streams', { ...formValues, userId });
dispatch({ type: CREATE_STREAM, payload: response.data });
// how handle error this url ?
};