Skip to content

Commit 83f0154

Browse files
committed
Fix(web): Evidence render markdown
1 parent 9f27b76 commit 83f0154

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/src/components/EvidenceCard.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from "react";
22
import styled, { css } from "styled-components";
33

44
import Identicon from "react-identicons";
5+
import ReactMarkdown from "react-markdown";
56

67
import { Card } from "@kleros/ui-components-library";
78

@@ -119,7 +120,7 @@ const EvidenceCard: React.FC<IEvidenceCard> = ({ evidence, sender, index }) => {
119120
{data ? (
120121
<>
121122
<h3>{data.name}</h3>
122-
<p>{data.description}</p>
123+
<ReactMarkdown>{data.description}</ReactMarkdown>
123124
</>
124125
) : (
125126
<p>{evidence}</p>

0 commit comments

Comments
 (0)