Files
DataStack/app/vcon/layout.tsx
T
i vib fcc4f4db2d chore: publish current DataStack updates
Publish the current application, design, and Phase 1 deployment updates. Excludes ignored personal notes, local MCP config, and generated TypeScript build info.
2026-10-23 19:56:38 -07:00

13 lines
393 B
TypeScript

'use client';
import { MainLayout } from '@/components/layout/MainLayout';
import { usePathname } from 'next/navigation';
import React from 'react';
export default function VconLayout({ children }: { children: React.ReactNode }) {
const pathname = usePathname();
if (pathname === '/vcon/login') return <>{children}</>;
return <MainLayout showSidebar={true}>{children}</MainLayout>;
}