ui/app/store/actions.js
/**
 * This action will receive two types of values via qrCodeData
 * an object with the following structure {type, values}
 * or null (used to clear the previous value)
 */
This action will receive two types of values via qrCodeData
an object with the following structure {type, values}
or null (used to clear the previous value)
This action will receive two types of values via qrCodeData an object with the following structure { type values } or null ( used to clear the previous value )
function qrCodeDetected (qrCodeData) {
  return {
    type: actionConstants.QR_CODE_DETECTED,
    value: qrCodeData,
  }
}
function qrCodeDetected ( qrCodeData ) { return { type : actionConstants . QR_CODE_DETECTED , value : qrCodeData , } }
This action will receive two types of values via qrCodeData
 an object with the following structure {type, values}
 or null (used to clear the previous value)
This action will receive two types of values via qrCodeData an object with the following structure { type values } or null ( used to clear the previous value )