From 87c4ebe0da5c7681ef1cc4fe13a75981f62daf36 Mon Sep 17 00:00:00 2001 From: huzibaca Date: Mon, 25 Nov 2024 12:51:13 +0800 Subject: [PATCH] chore: replace mui grid with mui grid2 --- src/pages/profiles.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/pages/profiles.tsx b/src/pages/profiles.tsx index 7d6ee44f..1c964a63 100644 --- a/src/pages/profiles.tsx +++ b/src/pages/profiles.tsx @@ -1,7 +1,7 @@ import useSWR, { mutate } from "swr"; import { useEffect, useMemo, useRef, useState } from "react"; import { useLockFn } from "ahooks"; -import { Box, Button, Grid, IconButton, Stack, Divider } from "@mui/material"; +import { Box, Button, IconButton, Stack, Divider, Grid2 } from "@mui/material"; import { DndContext, closestCenter, @@ -372,14 +372,14 @@ const ProfilePage = () => { onDragEnd={onDragEnd} > - + { return x.uid; })} > {profileItems.map((item) => ( - + { }} onDelete={() => onDelete(item.uid)} /> - + ))} - + { sx={{ width: `calc(100% - 32px)`, borderColor: dividercolor }} > - - + + { @@ -416,8 +416,8 @@ const ProfilePage = () => { } }} /> - - + + { } }} /> - - + +