diff --git a/app/edit/layout.tsx b/app/edit/layout.tsx deleted file mode 100644 index 21b0146..0000000 --- a/app/edit/layout.tsx +++ /dev/null @@ -1,11 +0,0 @@ -interface RootLayoutProps { - children: React.ReactNode -} - -export default function RootLayout({ children }: RootLayoutProps) { - return ( -
- {children} -
- ) -} \ No newline at end of file diff --git a/app/edit/page.tsx b/app/edit/page.tsx deleted file mode 100644 index dd2f32b..0000000 --- a/app/edit/page.tsx +++ /dev/null @@ -1,16 +0,0 @@ -"use client"; - -import { ReactFlowProvider } from "reactflow"; -import { AppBar } from "@/components/Editor/AppBar"; -import { Editor } from "@/components/Editor/Editor"; - -export default function EditPage() { - return ( - <> - - - - - - ) -} \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx index 561ef21..7c4aee4 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -42,7 +42,7 @@ export default function RootLayout({ children }: RootLayoutProps) { )} > -
+
{children}
diff --git a/app/page.tsx b/app/page.tsx index 273748f..dd2f32b 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,16 @@ -import { redirect } from "next/navigation" +"use client"; -export default function IndexPage() { - redirect("/edit") -} +import { ReactFlowProvider } from "reactflow"; +import { AppBar } from "@/components/Editor/AppBar"; +import { Editor } from "@/components/Editor/Editor"; + +export default function EditPage() { + return ( + <> + + + + + + ) +} \ No newline at end of file diff --git a/components/Editor/AppBar.tsx b/components/Editor/AppBar.tsx index ee6674e..31245c2 100644 --- a/components/Editor/AppBar.tsx +++ b/components/Editor/AppBar.tsx @@ -20,9 +20,9 @@ export function AppBar() { />
- + */}