Skip to content

Commit fc4a4ac

Browse files
committed
fixes
1 parent 23d2939 commit fc4a4ac

File tree

2 files changed

+178
-112
lines changed

2 files changed

+178
-112
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/support/SupportLayout.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
"use client";
22

3-
export function SupportLayout(props: { children: React.ReactNode }) {
3+
import { cn } from "@/lib/utils";
4+
5+
interface SupportLayoutProps {
6+
children: React.ReactNode;
7+
className?: string;
8+
}
9+
10+
export function SupportLayout(props: SupportLayoutProps): React.ReactElement {
411
return (
5-
<div className="flex grow flex-col">
12+
<div className={cn("flex grow flex-col", props.className)}>
613
{/* Page content */}
714
<div className="container flex grow gap-8 lg:min-h-[900px] [&>*]:py-8 lg:[&>*]:py-10">
815
<div className="flex max-w-full grow flex-col">{props.children}</div>

0 commit comments

Comments
 (0)