Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
374 B
TypeScript
13 lines
374 B
TypeScript
"use client";
|
|
|
|
import { AuthGuard } from "@/components/AuthGuard";
|
|
import { AccountingLayoutGate } from "@/src/modules/accounting/layout/AccountingLayoutGate";
|
|
|
|
export default function AccountingLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<AuthGuard>
|
|
<AccountingLayoutGate>{children}</AccountingLayoutGate>
|
|
</AuthGuard>
|
|
);
|
|
}
|