client/src/actions/userActions.js
author ymh <ymh.work@gmail.com>
Mon, 19 Jun 2017 18:32:27 +0200
changeset 57 2e4e9f9ebc4f
parent 53 d8588379529e
child 72 7634b424f426
permissions -rw-r--r--
Take client from context

import * as types from '../constants/actionTypes';

export const updateSettings = (username, firstname, lastname) => {
  return {
    type: types.USER_UPDATE_SETTINGS_ASYNC,
    username,
    firstname,
    lastname
  };
}