Skip to content

Commit 4e32049

Browse files
committed
feat: integrate StyledMarkdown component for contractor bio rendering in pro-help page
1 parent 9dac96e commit 4e32049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/pro-help/index.page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Head from 'next/head';
55
import { Headline1 } from '~/components/Headlines';
66
import { SectionContext } from '~/context';
77
import { DocsHelp } from '~/components/DocsHelp';
8+
import StyledMarkdown from '~/components/StyledMarkdown';
89

910
interface ContractorLink {
1011
title: string;
@@ -186,7 +187,7 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) {
186187
</a>
187188
</div>
188189
<div className='text-sm w-full'>
189-
<p className='text-justify'>{contractor.bio}</p>
190+
<StyledMarkdown markdown={contractor.bio}/>
190191
<p className='my-3 font-bold'>
191192
Previous work and relevant links
192193
</p>

0 commit comments

Comments
 (0)