apix/app/layout.tsx
Khoa Vo 8fd791df68
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run
fix: Add ErrorBoundary for client-side error handling on mobile
2026-01-07 20:57:06 +07:00

27 lines
690 B
TypeScript

import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import ErrorBoundary from "@/components/ErrorBoundary";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "kv-pix | AI Image Generator",
description: "Generate images with Google ImageFX (Whisk)",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" className="dark" suppressHydrationWarning>
<body className={inter.className} suppressHydrationWarning>
<ErrorBoundary>
{children}
</ErrorBoundary>
</body>
</html>
);
}