From 289b086d7114921ddb505a9b25a84d8cd66c4bcc Mon Sep 17 00:00:00 2001
From: hailin
Date: Wed, 21 May 2025 13:37:26 +0800
Subject: [PATCH] .
---
chatdesk-ui/app/[locale]/layout.tsx | 64 ++++++++++++++---------------
chatdesk-ui/app/pages/_document.tsx | 18 --------
2 files changed, 32 insertions(+), 50 deletions(-)
delete mode 100644 chatdesk-ui/app/pages/_document.tsx
diff --git a/chatdesk-ui/app/[locale]/layout.tsx b/chatdesk-ui/app/[locale]/layout.tsx
index 88e01e6..a6c637e 100644
--- a/chatdesk-ui/app/[locale]/layout.tsx
+++ b/chatdesk-ui/app/[locale]/layout.tsx
@@ -122,38 +122,38 @@ export default async function RootLayout({
//console.log("[layout.tsx]..............current locale: ", {locale});
- // return (
- //
- //
- //
- //
- //
- //
- // {data.session ? {children} : children}
- //
- //
- //
- //
- //
- // )
+ return (
+
+
+
+
+
+
+ {data.session ? {children} : children}
+
+
+
+
+
+ )
- return (
-
-
-
-
- {data.session ? {children} : children}
-
-
-
- )
+ // return (
+ //
+ //
+ //
+ //
+ // {data.session ? {children} : children}
+ //
+ //
+ //
+ // )
}
diff --git a/chatdesk-ui/app/pages/_document.tsx b/chatdesk-ui/app/pages/_document.tsx
deleted file mode 100644
index 39c46c6..0000000
--- a/chatdesk-ui/app/pages/_document.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Html, Head, Main, NextScript } from 'next/document';
-import Script from 'next/script';
-
-export default function Document() {
- return (
-
-
-
-
-
-
-
-
- );
-}