Closed onweer closed 5 years ago
You could just put them into one:
export const doEverything = createAsyncAction(EVERYTHING, async (id, body) => {
const a = await createUserInfo(body)
const b = await getUserInfo()
const c = await deleteUserInfo(id)
return { a, b, c }
})