Files
talk/plugins/talk-plugin-auth/client/login/actions.js
T
2018-02-09 23:18:21 +01:00

17 lines
279 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,
});