diff --git a/app/app/files/edit/page.tsx b/app/app/files/edit/page.tsx
index 8105e95..287ed7e 100644
--- a/app/app/files/edit/page.tsx
+++ b/app/app/files/edit/page.tsx
@@ -1,14 +1,30 @@
"use client";
-import React from "react";
+import React, { useCallback } from "react";
import { useSearchParams } from "next/navigation";
+import TextEditor from "@/components/TextEditor";
+import BreadCrumbs from "@/components/FilesEditor/BreadCrumbs";
function Page() {
const searchParams = useSearchParams();
- const serverId = searchParams.get("serverid");
+ const serverId = searchParams.get("serverid") || "";
+ const path = searchParams.get("path") || "";
- return
{serverId}
;
+ const changeDirectory = useCallback((path: string) => {
+ console.log("changeDirectory", path);
+ }, []);
+
+ return (
+ <>
+
+ ;
+ >
+ );
}
export default Page;
diff --git a/app/app/files/page.tsx b/app/app/files/page.tsx
index 22ecef4..86cd3da 100644
--- a/app/app/files/page.tsx
+++ b/app/app/files/page.tsx
@@ -3,9 +3,7 @@ import FilesEdit from "@/components/FilesEditor";
export default function Files() {
return (
<>
-
+
>
);
}
diff --git a/app/app/layout.tsx b/app/app/layout.tsx
index 17f6b5e..170f85f 100644
--- a/app/app/layout.tsx
+++ b/app/app/layout.tsx
@@ -1,7 +1,6 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
-import { Console } from "console";
import ConsoleNavigation from "@/components/ConsoleNavigation";
const inter = Inter({ subsets: ["latin"] });
@@ -24,7 +23,9 @@ export default function RootLayout({
- {children}
+