/* eslint-disable import/prefer-default-export */
// define action type
const MAKE_TALK = 'MAKE_TALK'

// define action creator
// action creator triggers MAKE_TALK action called makeTalk
// includes type, and payload, per Flux Standard Action model
export const makeTalk = () => ({
  type: MAKE_TALK,
  payload: true,
})
/* eslint-disable import/prefer-default-export */
// define action type
export const MAKE_TALK = 'MAKE_TALK'

// define action creator
// action creator triggers MAKE_TALK action called makeTalk
// includes type, and payload, per Flux Standard Action model
export const makeTalk = () => ({
  type: MAKE_TALK,
  payload: true,
})
add export to MAKE_TALK action type, and fix demo