mirror of
https://github.com/wassname/talk.git
synced 2026-08-01 13:00:55 +08:00
25 lines
471 B
JavaScript
25 lines
471 B
JavaScript
import * as actions from './constants';
|
|
|
|
export const setView = view => ({
|
|
type: actions.SET_VIEW,
|
|
view,
|
|
});
|
|
|
|
export const setEmail = email => ({
|
|
type: actions.SET_EMAIL,
|
|
email,
|
|
});
|
|
|
|
export const setPassword = password => ({
|
|
type: actions.SET_PASSWORD,
|
|
password,
|
|
});
|
|
|
|
export const enableSubmitSignUpForm = () => ({
|
|
type: actions.ENABLE_SUBMIT_SIGNUP_FORM,
|
|
});
|
|
|
|
export const disableSubmitSignUpForm = () => ({
|
|
type: actions.DISABLE_SUBMIT_SIGNUP_FORM,
|
|
});
|