From e2e3fe6909922acf95fef689b7dbe89ed8702530 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期六, 08 二月 2025 10:58:53 +0800
Subject: [PATCH] #

---
 rsf-admin/src/page/settings/index.jsx |   32 +++-----------------------------
 1 files changed, 3 insertions(+), 29 deletions(-)

diff --git a/rsf-admin/src/page/settings/Settings.jsx b/rsf-admin/src/page/settings/index.jsx
similarity index 79%
rename from rsf-admin/src/page/settings/Settings.jsx
rename to rsf-admin/src/page/settings/index.jsx
index 7833c47..63e48b6 100644
--- a/rsf-admin/src/page/settings/Settings.jsx
+++ b/rsf-admin/src/page/settings/index.jsx
@@ -22,8 +22,9 @@
 import { Stack, Grid, Box, Typography, Card, CardContent, Tabs, Tab } from '@mui/material';
 import * as Common from '@/utils/common';
 import { } from '@/config/setting';
+import BaseSettings from "./BaseSettings";
 
-const Settings = () => {
+const Index = () => {
     const authProvider = useAuthProvider();
     const navigate = useNavigate();
     const translate = useTranslate();
@@ -92,33 +93,6 @@
     )
 }
 
-const BaseSettings = (props) => {
-    const { children, value, ...other } = props;
-
-    return (
-        <Box
-            hidden={value !== 0}
-            sx={{ p: 3 }}
-            {...other}
-        >
-            <Grid container spacing={6}>
-                <Grid item xs={12}>
-                    {/* https://github.com/themeselection/materio-mui-nextjs-admin-template-free/blob/main/javascript-version/src/views/account-settings/account/AccountDetails.jsx */}
-                    <Card>
-                        <CardContent className='mbe-5'>
-                            <Typography>
-                                Base Settings
-                            </Typography>
-                        </CardContent>
-                    </Card>
-
-                </Grid>
-            </Grid>
-        </Box>
-
-    )
-}
-
 const SecuritySettings = (props) => {
     const { children, value, ...other } = props;
 
@@ -136,4 +110,4 @@
     )
 }
 
-export default Settings;
\ No newline at end of file
+export default Index;
\ No newline at end of file

--
Gitblit v1.9.1