Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Youtube VideoCategory actions
export const VIDEO_CATEGORIES = createRequestTypes('VIDEO_CATEGORIES');
export const categories = {
request: () => createAction(VIDEO_CATEGORIES[REQUEST]),
success: (response) => createAction(VIDEO_CATEGORIES[SUCCESS], {response}),
failure: (response) => createAction(VIDEO_CATEGORIES[FAILURE], {response}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.