fix: corrige problema de texto

This commit is contained in:
marlon passos 2023-03-29 11:57:39 -03:00
parent daf98b26a1
commit de0d9b44df

View File

@ -7,7 +7,10 @@ interface SubjectTextProps {
const SubjectText = ({title}: SubjectTextProps) => {
return (
<article className={styles["page-subject__container"]}>
<article
className={styles["page-subject__container"]}
data-testid="texts__container"
>
<Title title={title} />
<Text
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
@ -46,7 +49,10 @@ export type TitleProps = {
export const Title = ({title}: TitleProps) => {
return (
<h2 className={styles["texts__title"]}>
<h2
className={styles["texts__title"]}
data-testid="texts__title"
>
{title}
</h2>
)