From c37f22dc65cf02126e64ffbc80d52ab5bfb0a285 Mon Sep 17 00:00:00 2001 From: huzibaca Date: Wed, 13 Nov 2024 00:21:22 +0800 Subject: [PATCH] fix: mui grid has been deprecated --- .../setting/mods/backup-config-viewer.tsx | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/components/setting/mods/backup-config-viewer.tsx b/src/components/setting/mods/backup-config-viewer.tsx index fe4b99c..21f6498 100644 --- a/src/components/setting/mods/backup-config-viewer.tsx +++ b/src/components/setting/mods/backup-config-viewer.tsx @@ -8,7 +8,8 @@ import { useLockFn } from "ahooks"; import { TextField, Button, - Grid, + Grid2, + Box, Stack, IconButton, InputAdornment, @@ -125,10 +126,10 @@ export const BackupConfigViewer = memo( return (
e.preventDefault()}> - - - - + + + + - - + + - - + + - - - - + + + + )} - - + +
); }