260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
@@ -1,8 +1,8 @@
// File: components/layout/dashboard-shell.tsx
"use client";
'use client';
import { useUIStore } from "@/lib/stores/ui-store";
import { cn } from "@/lib/utils";
import { useUIStore } from '@/lib/stores/ui-store';
import { cn } from '@/lib/utils';
export function DashboardShell({ children }: { children: React.ReactNode }) {
const { isSidebarOpen } = useUIStore();
@@ -10,12 +10,12 @@ export function DashboardShell({ children }: { children: React.ReactNode }) {
return (
<div
className={cn(
"flex flex-col min-h-screen transition-all duration-300 ease-in-out",
'flex flex-col min-h-screen transition-all duration-300 ease-in-out',
// ปรับ Margin ซ้าย ตามสถานะ Sidebar
isSidebarOpen ? "md:ml-[240px]" : "md:ml-[70px]"
isSidebarOpen ? 'md:ml-[240px]' : 'md:ml-[70px]'
)}
>
{children}
</div>
);
}
}