Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2312 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3719 stevensc 1
import { QUIZ_ACTIONS } from './quiz.types';
2
 
3
export const setQuestions = (questions = []) => ({
4
  type: QUIZ_ACTIONS.SET_QUESTIONS,
5
  payload: questions
6
});
7
 
8
export const setAnswer = (answer) => ({
9
  type: QUIZ_ACTIONS.SET_ANSWER,
10
  payload: answer
11
});
12
 
13
export const setStatus = (status) => ({
14
  type: QUIZ_ACTIONS.SET_STATUS,
15
  payload: status
16
});