TorbatYar/frontend/app/accounting/layout.tsx
Mortezakoohjani 6f4a484051 Migrate Beauty, Healthcare, and Accounting frontend to modular src/modules architecture.
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>
2026-07-26 22:28:27 +03:30

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>
);
}