fix(LOY-260): use same phone component in signup and edit profile as enter details

remove old select from edit profile

update typography
This commit is contained in:
Christian Andolf
2025-06-11 13:21:26 +02:00
parent ecd8d81b80
commit 6a0ce38f79
8 changed files with 188 additions and 442 deletions

View File

@@ -4,8 +4,8 @@ import { useFormContext } from "react-hook-form"
import { useIntl } from "react-intl"
import CountrySelect from "@/components/TempDesignSystem/Form/Country"
import DeprecatedPhone from "@/components/TempDesignSystem/Form/DeprecatedPhone"
import Input from "@/components/TempDesignSystem/Form/Input"
import Phone from "@/components/TempDesignSystem/Form/Phone"
import Body from "@/components/TempDesignSystem/Text/Body"
import styles from "./modifyContact.module.css"
@@ -73,7 +73,7 @@ export default function ModifyContact({
/>
</div>
<div className={styles.row}>
<DeprecatedPhone
<Phone
label={intl.formatMessage({
defaultMessage: "Phone number",
})}