mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
18 lines
528 B
TypeScript
18 lines
528 B
TypeScript
import { requireWorkspaceAccessOrRedirect } from '@/lib/route-access';
|
|
import WorkspaceSettingsPageClient from './workspace-settings-page-client';
|
|
|
|
interface WorkspaceSettingsPageProps {
|
|
params: Promise<{ workspaceId: string }>;
|
|
}
|
|
|
|
export default async function WorkspaceSettingsPage({ params }: WorkspaceSettingsPageProps) {
|
|
const { workspaceId } = await params;
|
|
|
|
await requireWorkspaceAccessOrRedirect({
|
|
workspaceId,
|
|
intent: 'manage',
|
|
});
|
|
|
|
return <WorkspaceSettingsPageClient workspaceId={workspaceId} />;
|
|
}
|