You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
410 B

export const WELCOME_ACTION = 'WELCOME_ACTION';
export const UPDATE_SCORES = 'WELCOME_UPDATE_SCORES';
export const UPDATE_INITIALS = 'WELCOME_UDPATE_INITIALS';
export const updateScores = (scores) => ({
type: WELCOME_ACTION,
action: UPDATE_SCORES,
scores: scores
});
export const updateInitials = (initials) => ({
type: WELCOME_ACTION,
action: UPDATE_INITIALS,
initials: initials
});