diff --git a/app/_document.tsx b/app/_document.tsx index 5a63c82..92561f9 100644 --- a/app/_document.tsx +++ b/app/_document.tsx @@ -4,6 +4,7 @@ export default function Document() { return (
+ diff --git a/app/layout.tsx b/app/layout.tsx index 6815872..3d724f1 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -6,8 +6,9 @@ import type React from "react" import { NotificationProvider } from "@/lib/notification-context" import { Metadata, Viewport } from "next" import KeepOnlineWrapper from "@/components/layout/KeepOnlineWrapper" -import { ChristmasDecorations } from "@/components/christmas-decorations" -import { isDecember } from "@/lib/utils/christmas" +// Christmas theme disabled +// import { ChristmasDecorations } from "@/components/christmas-decorations" +// import { isDecember } from "@/lib/utils/christmas" import { AudioPreloader } from "@/components/audio-preloader" const inter = Inter({ subsets: ["latin"] }) @@ -72,15 +73,15 @@ export default function RootLayout({ }: { children: React.ReactNode }) { - const isDec = isDecember() + const isDec = false // Christmas theme disabled return ( - +{data.formattedDate}
-+
{data.formattedDate}
+Revenue: {hideNumbers ? '£***' : formatGBP(data.revenue)}
diff --git a/components/dashboard/ChatDetail.tsx b/components/dashboard/ChatDetail.tsx index 509548f..c31df24 100644 --- a/components/dashboard/ChatDetail.tsx +++ b/components/dashboard/ChatDetail.tsx @@ -473,7 +473,7 @@ export default function ChatDetail({ chatId }: { chatId: string }) { content: newMessage }), headers: { - 'Content-Type': 'application/json' + 'Content-Type': 'application/json; charset=utf-8' } }); } diff --git a/components/layout/layout.tsx b/components/layout/layout.tsx index 7daf193..6a6e9b5 100644 --- a/components/layout/layout.tsx +++ b/components/layout/layout.tsx @@ -23,20 +23,39 @@ export default function Layout({ children }: LayoutProps) { useEffect(() => setMounted(true), []) - if (!mounted) return null + // Show skeleton while mounting to prevent layout shift + if (!mounted) { + return ( +