diff --git a/packages/components-faraday/src/components/Admin/EditUserForm.js b/packages/components-faraday/src/components/Admin/EditUserForm.js index e40fd416eb7befb6c674ef2f2911c265031e98d7..fbf6987a803bf8d6b48058cd911b21b9bd6f14c8 100644 --- a/packages/components-faraday/src/components/Admin/EditUserForm.js +++ b/packages/components-faraday/src/components/Admin/EditUserForm.js @@ -17,7 +17,7 @@ const EditUserForm = ({ {subtitle && <Subtitle>{subtitle}</Subtitle>} <Row> <RowItem> - <Label> First name* </Label> + <Label> First name*1 </Label> <ValidatedField component={TextField} name="firstName" diff --git a/packages/components-faraday/src/components/utils.js b/packages/components-faraday/src/components/utils.js index 067fdf73390ef91c67841e5d97e3c547192e5497..8a57b42477c2ed4b6929c778592888f43b92c049 100644 --- a/packages/components-faraday/src/components/utils.js +++ b/packages/components-faraday/src/components/utils.js @@ -144,7 +144,7 @@ export const parseUpdateUser = values => { export const onSubmitUser = (values, dispatch, { setEditMode }) => update(`/users/${values.id}`, parseUpdateUser(values)) .then(user => { - setEditMode(false) + setEditMode(false)() dispatch(actions.getCurrentUser()) }) .catch(handleFormError)