From c790180e86fdcee6435b40f60deb121a4938a241 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Tue, 4 Nov 2025 10:51:54 +0700 Subject: [PATCH] feat(FE-208): add Layout component to wrap children with SuspenseHelper --- src/app/purchase/detail/layout.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/app/purchase/detail/layout.tsx diff --git a/src/app/purchase/detail/layout.tsx b/src/app/purchase/detail/layout.tsx new file mode 100644 index 00000000..7220dfa1 --- /dev/null +++ b/src/app/purchase/detail/layout.tsx @@ -0,0 +1,11 @@ +import SuspenseHelper from '@/components/helper/SuspenseHelper'; + +const Layout = ({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) => { + return {children}; +}; + +export default Layout;