import type { Metadata } from "next"; import "@tabler/icons-webfont/dist/tabler-icons.min.css"; import "./globals.css"; import ConditionalNavbar from "./components/layout/ConditionalNavbar"; import { ExtensionAttributeCleanup } from "./components/system/ExtensionAttributeCleanup"; // CHANGE: added — fixes hydration mismatch caused by browser extensions import { Footer } from "./components/layout"; export const metadata: Metadata = { title: "لوحة التحكم", description: "نظام إدارة الأسطول والعمليات", }; export default function RootLayout({ children, }: { children: React.ReactNode; }) { return ( // ⚠️ اتصلح: الـ Navbar والـ footer كانوا برة /
وده HTML غير صالح {/* CHANGE: mounted globally so every route (not just the dashboard form pages) gets protected from extension-injected attributes */}