| author | ymh <ymh.work@gmail.com> |
| Tue, 29 Mar 2022 11:23:56 +0200 | |
| changeset 211 | 244a90638e80 |
| parent 72 | 7634b424f426 |
| permissions | -rw-r--r-- |
| 53 | 1 |
import * as types from '../constants/actionTypes'; |
2 |
||
3 |
export const updateSettings = (username, firstname, lastname) => { |
|
4 |
return { |
|
5 |
type: types.USER_UPDATE_SETTINGS_ASYNC, |
|
6 |
username, |
|
7 |
firstname, |
|
8 |
lastname |
|
9 |
}; |
|
10 |
} |
|
|
72
7634b424f426
Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents:
53
diff
changeset
|
11 |
|
|
7634b424f426
Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents:
53
diff
changeset
|
12 |
export const setAutoSubmit = (value) => { |
|
7634b424f426
Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents:
53
diff
changeset
|
13 |
return { |
|
7634b424f426
Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents:
53
diff
changeset
|
14 |
type: types.USER_TOGGLE_AUTO_SUBMIT, |
|
7634b424f426
Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents:
53
diff
changeset
|
15 |
value |
|
7634b424f426
Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents:
53
diff
changeset
|
16 |
}; |
|
7634b424f426
Add checkbox to add not on enter key.
Alexandre Segura <mex.zktk@gmail.com>
parents:
53
diff
changeset
|
17 |
} |