[WMS-55] Create/Edit User

This commit is contained in:
m0n02hz
2022-03-02 00:41:24 +05:30
parent 315113630e
commit c2b632e33b
45 changed files with 41607 additions and 190 deletions

View File

@@ -0,0 +1,16 @@
export const UPDATE_FORM_VALUES = "UPDATE_{{constantCase name}}_FORM_VALUES"
export const UPDATE_FORM_ERRORS = "UPDATE_{{constantCase name}}_FORM_ERRORS"
export const updateFormValues = (formValues) => {
return {
type: UPDATE_FORM_VALUES,
payload: formValues
}
}
export const updateFormErrors = (formErrors) => {
return {
type: UPDATE_FORM_ERRORS,
payload: formErrors
}
}