fix: update harmony package

This commit is contained in:
Sajad Mirjalili
2025-09-26 14:48:41 +03:30
parent 3a31313358
commit 477c5c7da1
3 changed files with 34 additions and 59 deletions

View File

@@ -84,37 +84,36 @@ export default function PhoneEditForm({
placeholder="09123456789"
slotProps={{
input: {
endAdornment:
buttonState === 'counting' ? (
<InputAdornment position="end">
<IconButton
size="small"
onClick={() => {
setButtonState('default');
setVerificationCode('');
setIsCodeSent(false);
}}
edge="end"
>
<Icon
Component={Edit2}
color="primary.main"
variant="Bold"
/>
</IconButton>
</InputAdornment>
) : (
i18n.dir() === 'rtl' && (
<CountryCodeSelector
value={countryCode}
onChange={setCountryCode}
show={true}
disabled={isCodeSent}
menuAnchor={textFieldRef.current}
onCloseFocusRef={inputRef}
endAdornment: isCodeSent ? (
<InputAdornment position="end">
<IconButton
size="small"
onClick={() => {
setButtonState('default');
setVerificationCode('');
setIsCodeSent(false);
}}
edge="end"
>
<Icon
Component={Edit2}
color="primary.main"
variant="Bold"
/>
)
),
</IconButton>
</InputAdornment>
) : (
i18n.dir() === 'rtl' && (
<CountryCodeSelector
value={countryCode}
onChange={setCountryCode}
show={true}
disabled={isCodeSent}
menuAnchor={textFieldRef.current}
onCloseFocusRef={inputRef}
/>
)
),
startAdornment: i18n.dir() === 'ltr' && (
<CountryCodeSelector
value={countryCode}