[dep] update to eslint 9
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export default function Page() {
|
||||
return <div>Console</div>;
|
||||
return <div>Console</div>
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default function Page() {
|
||||
return <div>Gear</div>;
|
||||
return <div>Gear</div>
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
"use client";
|
||||
"use client"
|
||||
|
||||
import CommonDir from "@/components/cstb/CommonDir";
|
||||
import FastLaunch from "@/components/cstb/FastLaunch";
|
||||
import ForceQuit from "@/components/cstb/ForceQuit";
|
||||
import LaunchOption from "@/components/cstb/LaunchOption";
|
||||
import Notice from "@/components/cstb/Notice";
|
||||
import PowerPlan from "@/components/cstb/PowerPlan";
|
||||
import SmartTransfer from "@/components/cstb/SmartTranser";
|
||||
import CommonDir from "@/components/cstb/CommonDir"
|
||||
import FastLaunch from "@/components/cstb/FastLaunch"
|
||||
import ForceQuit from "@/components/cstb/ForceQuit"
|
||||
import LaunchOption from "@/components/cstb/LaunchOption"
|
||||
import Notice from "@/components/cstb/Notice"
|
||||
import PowerPlan from "@/components/cstb/PowerPlan"
|
||||
import SmartTransfer from "@/components/cstb/SmartTranser"
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
@@ -25,7 +25,7 @@ const Home = () => {
|
||||
<FastLaunch />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
)
|
||||
}
|
||||
|
||||
export default Home;
|
||||
export default Home
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
"use client"
|
||||
import Header from "@/components/window/Header";
|
||||
import Nav from "@/components/window/Nav";
|
||||
import SideBar from "@/components/window/SideBar";
|
||||
import clsx from "clsx";
|
||||
import Header from "@/components/window/Header"
|
||||
import Nav from "@/components/window/Nav"
|
||||
import SideBar from "@/components/window/SideBar"
|
||||
import clsx from "clsx"
|
||||
// import { platform } from "@tauri-apps/plugin-os"
|
||||
|
||||
export default function BaseLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<div className="w-full h-full bg-transparent">
|
||||
@@ -20,7 +20,7 @@ export default function BaseLayout({
|
||||
|
||||
<main
|
||||
className={clsx(
|
||||
"flex flex-col h-full pb-5 pr-5 ml-20 overflow-hidden"
|
||||
"flex flex-col h-full pb-5 pr-5 ml-20 overflow-hidden",
|
||||
// platform() === "windows" ? "ml-20" : "ml-[4.25rem]"
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default function Page() {
|
||||
return <div>Movie</div>;
|
||||
return <div>Movie</div>
|
||||
}
|
||||
|
||||
@@ -1,12 +1,26 @@
|
||||
"use client"
|
||||
import { Card, CardHeader, CardIcon, CardTool, CardBody } from "@/components/window/Card"
|
||||
import {
|
||||
Card,
|
||||
CardBody,
|
||||
CardHeader,
|
||||
CardIcon,
|
||||
CardTool,
|
||||
} from "@/components/window/Card"
|
||||
import { ToolButton } from "@/components/window/ToolButton"
|
||||
import { SettingConfig, UploadOne, HardDisk, AssemblyLine, Videocamera } from "@icon-park/react"
|
||||
import {
|
||||
AssemblyLine,
|
||||
HardDisk,
|
||||
SettingConfig,
|
||||
UploadOne,
|
||||
Videocamera,
|
||||
} from "@icon-park/react"
|
||||
import clsx from "clsx"
|
||||
import { usePathname, useRouter } from "next/navigation"
|
||||
// import { platform } from "@tauri-apps/plugin-os"
|
||||
|
||||
export default function PreferenceLayout({ children }: { children: React.ReactNode }) {
|
||||
export default function PreferenceLayout({
|
||||
children,
|
||||
}: { children: React.ReactNode }) {
|
||||
const router = useRouter()
|
||||
const pathname = usePathname()
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default function Page() {
|
||||
return <div>Tool</div>;
|
||||
return <div>Tool</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user