Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix toast for companion updates #1331

Merged
merged 9 commits into from
Jan 9, 2025
1 change: 1 addition & 0 deletions i18n/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ components:
errorUpdatingProfile: Error updating profile.
fieldUpdated: This setting has been updated.
fields:
add-companion-form: Companions
binh-dam-ibigroup marked this conversation as resolved.
Show resolved Hide resolved
storeTripHistory: Store trip history
updating: Updating
UserSettings:
Expand Down
1 change: 1 addition & 0 deletions i18n/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ components:
errorUpdatingProfile: Erreur dans la mise à jour de votre profil.
fieldUpdated: Ce paramètre a été mis à jour.
fields:
add-companion-form: Accompagnateurs
storeTripHistory: Enregistrement des recherches
updating: Mise à jour
UserSettings:
Expand Down
1 change: 1 addition & 0 deletions i18n/i18n-exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"push"
],
"components.UserAccountScreen.fields.*": [
"add-companion-form",
"storeTripHistory"
],
"components.OTP2ErrorRenderer.*.body": [
Expand Down
4 changes: 2 additions & 2 deletions lib/components/user/common/add-email-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Field, Form, Formik } from 'formik'
import React, { ReactNode } from 'react'
import styled from 'styled-components'

import { ControlStrip, phoneFieldStyle } from '../styled'
import { phoneFieldStyle } from '../styled'
import SubmitButton from '../../util/submit-button'

interface Props {
Expand Down Expand Up @@ -64,7 +64,7 @@ const AddEmailForm = ({
<FormGroup validationState={showError ? 'error' : null}>
<ControlLabel>{label}</ControlLabel>
<Controls>
<Form id={id} noValidate />
<Form id={id} name={id} noValidate />
<Field
aria-invalid={showError}
aria-required
Expand Down
Loading