From 48ce4a9fa9537decd752237d8487f29c9e27a5a7 Mon Sep 17 00:00:00 2001
From: hailin
Date: Wed, 21 May 2025 14:36:58 +0800
Subject: [PATCH] .
---
chatdesk-ui/app/[locale]/layout.tsx | 64 ++++++++++++++---------------
chatdesk-ui/pages/_document.tsx | 15 +++++++
2 files changed, 47 insertions(+), 32 deletions(-)
create mode 100644 chatdesk-ui/pages/_document.tsx
diff --git a/chatdesk-ui/app/[locale]/layout.tsx b/chatdesk-ui/app/[locale]/layout.tsx
index a82213d..9d79312 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/pages/_document.tsx b/chatdesk-ui/pages/_document.tsx
new file mode 100644
index 0000000..0e0bd3c
--- /dev/null
+++ b/chatdesk-ui/pages/_document.tsx
@@ -0,0 +1,15 @@
+// _document.tsx
+
+import { Html, Head, Main, NextScript } from 'next/document'
+
+export default function Document() {
+ return (
+
+
+
+
+
+
+
+ )
+}