diff --git a/src/components/setting/mods/backup-config-viewer.tsx b/src/components/setting/mods/backup-config-viewer.tsx index 21f6498..1ad0b6e 100644 --- a/src/components/setting/mods/backup-config-viewer.tsx +++ b/src/components/setting/mods/backup-config-viewer.tsx @@ -165,17 +165,19 @@ export const BackupConfigViewer = memo( spellCheck="false" inputRef={passwordRef} {...register("password")} - InputProps={{ - endAdornment: ( - - - {showPassword ? : } - - - ), + slotProps={{ + input: { + endAdornment: ( + + + {showPassword ? : } + + + ), + }, }} />