fix: update harmony package
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user