feat: refactor TopLoader to use a hook for active state management and improve CSS for fixed positioning
CI/CD - ERP Distribution / Build & Deploy Backend (pull_request) Failing after 10m33s
CI/CD - ERP Distribution / Build & Deploy Frontend (pull_request) Failing after 14m21s

This commit is contained in:
Kalana B. Thilakarathna
2026-10-19 23:37:45 +05:30
parent 21b38b5276
commit 28c465f59b
4 changed files with 52 additions and 29 deletions
@@ -2,6 +2,7 @@ import { SidebarInset, SidebarProvider, SidebarTrigger } from '@/components/ui/s
import { AppSidebar } from '@/components/layout/app-sidebar'
import { BottomNav } from '@/components/layout/bottom-nav'
import { ThemeToggle } from '@/components/layout/theme-toggle'
import { TopLoader } from '@/components/shared/top-loader'
export default function DashboardLayout({
children,
@@ -10,6 +11,7 @@ export default function DashboardLayout({
}) {
return (
<SidebarProvider>
<TopLoader />
<AppSidebar />
<SidebarInset>
<header className="flex h-14 shrink-0 items-center gap-2 border-b border-border px-4">