import AppLayout from '@client/components/layout/AppLayout';
import { loadServerBranding } from '@server/branding/loader';

export const revalidate = 60;

export default async function DashboardLayout({ children }: { children: React.ReactNode }) {
  const { branding, version } = await loadServerBranding();
  return <AppLayout initialBranding={branding} initialBrandingVersion={version}>{children}</AppLayout>;
}
