Skip to content

Scheduling infrastructure for absolutely everyone.

chore: No more clientside markdown when importing Checkbox (#25278)

Alex van Andel6818806c5e81
diff --git a/packages/ui/components/form/checkbox/Checkbox.test.tsx b/packages/ui/components/form/checkbox/Checkbox.test.tsx
index 28bc926568f..2d0fe1b55f4 100644
--- a/packages/ui/components/form/checkbox/Checkbox.test.tsx
+++ b/packages/ui/components/form/checkbox/Checkbox.test.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable playwright/missing-playwright-await */
import { render, fireEvent } from "@testing-library/react";
import React from "react";
import { vi } from "vitest";
diff --git a/packages/ui/components/form/checkbox/Checkbox.tsx b/packages/ui/components/form/checkbox/Checkbox.tsx
index b509bbd2ced..4224e1dd6f5 100644
--- a/packages/ui/components/form/checkbox/Checkbox.tsx
+++ b/packages/ui/components/form/checkbox/Checkbox.tsx
@@ -2,8 +2,6 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
import { useId } from "@radix-ui/react-id";
import type { InputHTMLAttributes } from "react";
import React, { forwardRef } from "react";
-
-import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML";
import classNames from "@calcom/ui/classNames";
import { Icon } from "../../icon";
@@ -100,7 +98,7 @@ const CheckboxField = forwardRef<HTMLInputElement, Props>(
rest.descriptionClassName
)}
dangerouslySetInnerHTML={{
- __html: markdownToSafeHTML(descriptionAsSafeHtml),
+ __html: descriptionAsSafeHtml,
}}
/>
) : (