Skip to content

Commit

Permalink
fix: format ReactMarkdown component for better readability in pro-hel…
Browse files Browse the repository at this point in the history
…p page
  • Loading branch information
Thund3rHawk committed Jan 25, 2025
1 parent 6c6bff3 commit 12eb7be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pages/pro-help/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Head from 'next/head';
import { Headline1 } from '~/components/Headlines';
import { SectionContext } from '~/context';
import { DocsHelp } from '~/components/DocsHelp';
import ReactMarkdown from 'react-markdown'
import ReactMarkdown from 'react-markdown';

interface ContractorLink {
title: string;
Expand Down Expand Up @@ -187,7 +187,9 @@ export default function ProHelp({ contractorData }: ProHelpPageProps) {
</a>
</div>
<div className='text-sm w-full'>
<ReactMarkdown className='text-justify'>{contractor.bio}</ReactMarkdown>
<ReactMarkdown className='text-justify'>
{contractor.bio}
</ReactMarkdown>
<p className='my-3 font-bold'>
Previous work and relevant links
</p>
Expand Down

0 comments on commit 12eb7be

Please sign in to comment.