Update address only one time
This commit is contained in:
parent
05d9aff656
commit
7a998ac809
1 changed files with 1 additions and 2 deletions
|
@ -88,7 +88,7 @@ const CustomerAddressDialog = withStyles(styles, {})(
|
|||
maxWidth="sm"
|
||||
>
|
||||
<Form initial={initialForm} errors={errors} onSubmit={onConfirm}>
|
||||
{({ change, data, errors, submit }) => {
|
||||
{({ change, data, errors }) => {
|
||||
const handleCountrySelect = createSingleAutocompleteSelectHandler(
|
||||
change,
|
||||
setCountryDisplayName,
|
||||
|
@ -128,7 +128,6 @@ const CustomerAddressDialog = withStyles(styles, {})(
|
|||
transitionState={confirmButtonState}
|
||||
color="primary"
|
||||
variant="contained"
|
||||
onClick={submit}
|
||||
type="submit"
|
||||
>
|
||||
<FormattedMessage {...buttonMessages.save} />
|
||||
|
|
Loading…
Reference in a new issue