fix: InputProps is deprecated

This commit is contained in:
huzibaca
2024-11-13 00:30:30 +08:00
parent c37f22dc65
commit 176620e3bb

View File

@@ -165,7 +165,8 @@ export const BackupConfigViewer = memo(
spellCheck="false"
inputRef={passwordRef}
{...register("password")}
InputProps={{
slotProps={{
input: {
endAdornment: (
<InputAdornment position="end">
<IconButton
@@ -176,6 +177,7 @@ export const BackupConfigViewer = memo(
</IconButton>
</InputAdornment>
),
},
}}
/>
</Grid2>