diff --git a/src/components/Benchmarks/BenchmarkRow.tsx b/src/components/Benchmarks/BenchmarkRow.tsx index cbcb2b9..ad46ea9 100644 --- a/src/components/Benchmarks/BenchmarkRow.tsx +++ b/src/components/Benchmarks/BenchmarkRow.tsx @@ -1,6 +1,7 @@ import { Link } from 'react-router-dom'; import React from 'react'; import benchmarkModel from './BenchmarkModel'; +import ReactMarkdown from 'react-markdown'; interface BenchmarkRowProps { benchmark: benchmarkModel; @@ -51,9 +52,11 @@ const BenchmarkRow: React.FC = ({ benchmark }) => { key={benchmark.subject.substring(0, 50)} className="text-sm text-gray-900" > - {benchmark.subject.length > truncateSize - ? benchmark.subject.substring(0, truncateSize) + '...' - : benchmark.subject} + + {benchmark.subject.length > truncateSize + ? benchmark.subject.substring(0, truncateSize) + '...' + : benchmark.subject} +