Skip to content

Commit

Permalink
chore: StandardMarkdown added to comment body
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 08ab5ef5c9065f2100af302a5b55677005de65ea
  • Loading branch information
abbas-nazar authored and actions-user committed Nov 21, 2024
1 parent a1e616f commit 6dff6a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { OnClickAway } from "@/wab/commons/components/OnClickAway";
import { ApiCommentReaction, CommentId } from "@/wab/shared/ApiSchema";
import { fullName } from "@/wab/shared/ApiSchemaUtil";
import { ensure, ensureString, maybe, spawn } from "@/wab/shared/common";
import { StandardMarkdown } from "@/wab/client/utils/StandardMarkdown";
import { HTMLElementRefOf } from "@plasmicapp/react-web";
import { Menu, Tooltip } from "antd";
import Popover from "antd/lib/popover";
Expand Down Expand Up @@ -197,7 +198,7 @@ function CommentPost_(props: CommentPostProps, ref: HTMLElementRefOf<"div">) {
);
}}
>
{comment.body}
<StandardMarkdown>{comment.body}</StandardMarkdown>
</EditableLabel>
}
timestamp={moment(comment.createdAt).fromNow()}
Expand Down

0 comments on commit 6dff6a7

Please sign in to comment.