diff --git a/src/components/CreateOrgLabelDialog.tsx b/src/components/CreateOrgLabelDialog.tsx index dfd883522..cfa18e128 100644 --- a/src/components/CreateOrgLabelDialog.tsx +++ b/src/components/CreateOrgLabelDialog.tsx @@ -39,7 +39,6 @@ export function CreateOrgLabelDialog({ const t = useTranslations(); const api = createApiClient(useEnvContext()); const { isPaidUser } = usePaidStatus(); - const canManageLabels = isPaidUser(tierMatrix.labels); const [isSubmitting, startTransition] = useTransition(); async function createOrgLabel(data: { name: string; color: string }) { @@ -84,11 +83,8 @@ export function CreateOrgLabelDialog({ - { - if (!canManageLabels) return; startTransition(async () => createOrgLabel(data)); }} /> @@ -106,7 +102,7 @@ export function CreateOrgLabelDialog({