mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 04:45:19 +00:00
12 lines
464 B
TypeScript
12 lines
464 B
TypeScript
import { hasEntitlement } from "@sourcebot/shared";
|
|
import { notFound } from "@/lib/serviceError";
|
|
import { LinkedAccountsSettings } from "@/ee/features/permissionSyncing/components/linkedAccountsSettings";
|
|
|
|
export default async function PermissionSyncingPage() {
|
|
const hasPermissionSyncingEntitlement = await hasEntitlement("permission-syncing");
|
|
if (!hasPermissionSyncingEntitlement) {
|
|
notFound();
|
|
}
|
|
|
|
return <LinkedAccountsSettings />;
|
|
}
|