mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2026-01-24 05:02:12 +00:00
refactor: clean some codes
This commit is contained in:
@@ -8,7 +8,6 @@ import { Configuration } from "@/components/configuration";
|
||||
import { Configurations } from "@/components/configurations";
|
||||
import { icons } from "@/components/icons";
|
||||
import { PageRootSection } from "@/components/page-root-section";
|
||||
import { PageSection } from "@/components/page-section";
|
||||
|
||||
export default function Page() {
|
||||
const { theme = "system", setTheme } = useTheme();
|
||||
@@ -38,9 +37,7 @@ export default function Page() {
|
||||
|
||||
return (
|
||||
<PageRootSection title={singleTools.settings.longTitle}>
|
||||
<PageSection>
|
||||
<Configurations list={[appThemeConfig]} />
|
||||
</PageSection>
|
||||
<Configurations list={[appThemeConfig]} />
|
||||
</PageRootSection>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user