hkuds--deeptutor
e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
21 行
639 B
TypeScript
21 行
639 B
TypeScript
import UtilitySidebar from "@/components/sidebar/UtilitySidebar";
|
|
import { CapabilityAccessProvider } from "@/components/access/CapabilityAccessContext";
|
|
import CapabilityGate from "@/components/access/CapabilityGate";
|
|
|
|
export default function UtilityLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<CapabilityAccessProvider>
|
|
<div className="flex h-screen overflow-hidden">
|
|
<UtilitySidebar />
|
|
<main className="flex-1 overflow-hidden bg-[var(--background)]">
|
|
<CapabilityGate>{children}</CapabilityGate>
|
|
</main>
|
|
</div>
|
|
</CapabilityAccessProvider>
|
|
);
|
|
}
|