mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-06 01:03:44 +08:00
fix: InputProps is deprecated
This commit is contained in:
parent
c37f22dc65
commit
176620e3bb
@ -165,7 +165,8 @@ export const BackupConfigViewer = memo(
|
|||||||
spellCheck="false"
|
spellCheck="false"
|
||||||
inputRef={passwordRef}
|
inputRef={passwordRef}
|
||||||
{...register("password")}
|
{...register("password")}
|
||||||
InputProps={{
|
slotProps={{
|
||||||
|
input: {
|
||||||
endAdornment: (
|
endAdornment: (
|
||||||
<InputAdornment position="end">
|
<InputAdornment position="end">
|
||||||
<IconButton
|
<IconButton
|
||||||
@ -176,6 +177,7 @@ export const BackupConfigViewer = memo(
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
),
|
),
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Grid2>
|
</Grid2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user