Skip to content

Commit 6818806

Browse files
authored
chore: No more clientside markdown when importing Checkbox (#25278)
1 parent dd7f108 commit 6818806

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/ui/components/form/checkbox/Checkbox.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable playwright/missing-playwright-await */
21
import { render, fireEvent } from "@testing-library/react";
32
import React from "react";
43
import { vi } from "vitest";

packages/ui/components/form/checkbox/Checkbox.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
22
import { useId } from "@radix-ui/react-id";
33
import type { InputHTMLAttributes } from "react";
44
import React, { forwardRef } from "react";
5-
6-
import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML";
75
import classNames from "@calcom/ui/classNames";
86

97
import { Icon } from "../../icon";
@@ -100,7 +98,7 @@ const CheckboxField = forwardRef<HTMLInputElement, Props>(
10098
rest.descriptionClassName
10199
)}
102100
dangerouslySetInnerHTML={{
103-
__html: markdownToSafeHTML(descriptionAsSafeHtml),
101+
__html: descriptionAsSafeHtml,
104102
}}
105103
/>
106104
) : (

0 commit comments

Comments
 (0)