refactor(team): streamline TeamPage function parameters and improve layout constraints

- Simplified the TeamPage function parameter destructuring for better readability.
- Updated LayoutDataProvider to increase maximum width for specific pages, enhancing layout consistency.
- Adjusted ZeroProvider state management to use undefined instead of null for clarity in context handling.
This commit is contained in:
Anish Sarkar 2026-07-06 10:40:49 +05:30
parent 865e22aaa4
commit 72c2dd0e1b
3 changed files with 7 additions and 12 deletions

View file

@ -1,10 +1,6 @@
import { TeamContent } from "./team-content";
export default async function TeamPage({
params,
}: {
params: Promise<{ workspace_id: string }>;
}) {
export default async function TeamPage({ params }: { params: Promise<{ workspace_id: string }> }) {
const { workspace_id } = await params;
return (