import Locale from "@/app/locales"; import MenuLayout from "@/app/components/MenuLayout"; import Panel from "./SettingPanel"; import GotoIcon from "@/app/icons/goto.svg"; import { useAppConfig } from "@/app/store"; import { useState } from "react"; export default MenuLayout(function SettingList(props) { const { setShowPanel } = props; const config = useAppConfig(); const { isMobileScreen } = config; const list = [ { id: Locale.Settings.GeneralSettings, title: Locale.Settings.GeneralSettings, icon: null, }, ]; const [selected, setSelected] = useState(list[0].id); return (