Fix markdown usage error: p elements can't nest!

This commit is contained in:
Dejvino 2023-05-30 14:01:43 +02:00
parent 4e5c157b15
commit 4bcc2e53cf
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,7 @@ export default function AboutBrief() {
return ( return (
<Container className='about-brief' fluid> <Container className='about-brief' fluid>
<h1>{person.name}</h1> <h1>{person.name}</h1>
<p className='brief'>{md(person.brief)}</p> <div className='brief'>{md(person.brief)}</div>
</Container> </Container>
) )
} }

View File

@ -4,7 +4,6 @@ import Container from 'react-bootstrap/Container';
import Col from 'react-bootstrap/Col'; import Col from 'react-bootstrap/Col';
import Row from 'react-bootstrap/Row'; import Row from 'react-bootstrap/Row';
import JobCard, { JobCardPlaceholder } from './JobCard'; import JobCard, { JobCardPlaceholder } from './JobCard';
import { partition } from '../../utils';
import { JobListProps } from './types'; import { JobListProps } from './types';
export type Props = { export type Props = {