client/src/actions/userActions.js
author ymh <ymh.work@gmail.com>
Tue, 20 Jun 2017 19:04:42 +0200
changeset 65 14989b339e5d
parent 53 d8588379529e
child 72 7634b424f426
permissions -rw-r--r--
Use a fonctionnal component for the login part of the navbar

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

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