From c978d5ad4a89d12ba61f10e7642d6edbd48a637d Mon Sep 17 00:00:00 2001 From: Marko Djordjevic Date: Wed, 18 Feb 2026 20:27:29 +0100 Subject: [PATCH] code-review-fix task 10.2: wrap children with ErrorBoundary in layout.tsx --- src/app/layout.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index ed8ecf5..181eb4b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from "next"; import "./globals.css"; import { ThemeProvider } from "@/components/ThemeProvider"; +import { ErrorBoundary } from "@/components/ErrorBoundary"; export const metadata: Metadata = { title: "Candle Annotator", @@ -20,7 +21,9 @@ export default function RootLayout({ defaultTheme="light" enableSystem={false} > - {children} + + {children} +