client/src/actions/userActions.js
author ymh <ymh.work@gmail.com>
Wed, 21 Jun 2017 03:23:24 +0200
changeset 68 6e18b31b0ad5
parent 53 d8588379529e
child 72 7634b424f426
permissions -rw-r--r--
Correct session creation and add offline to the persisted state

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

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