Skip to content

Commit 9dac96e

Browse files
committed
refactor: remove react-markdown dependency and update pro-help page
1 parent f64618d commit 9dac96e

File tree

3 files changed

+3
-811
lines changed

3 files changed

+3
-811
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"node-ical": "0.20.1",
4747
"react": "18.3.1",
4848
"react-dom": "18.3.1",
49-
"react-markdown": "^9.0.3",
5049
"react-syntax-highlighter": "^15.6.1",
5150
"react-text-truncate": "^0.19.0",
5251
"reading-time": "^1.5.0",

pages/pro-help/index.page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import Head from 'next/head';
55
import { Headline1 } from '~/components/Headlines';
66
import { SectionContext } from '~/context';
77
import { DocsHelp } from '~/components/DocsHelp';
8-
import ReactMarkdown from 'react-markdown';
98

109
interface ContractorLink {
1110
title: string;
@@ -187,9 +186,7 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) {
187186
</a>
188187
</div>
189188
<div className='text-sm w-full'>
190-
<ReactMarkdown className='text-justify'>
191-
{contractor.bio}
192-
</ReactMarkdown>
189+
<p className='text-justify'>{contractor.bio}</p>
193190
<p className='my-3 font-bold'>
194191
Previous work and relevant links
195192
</p>

0 commit comments

Comments
 (0)