From de0d9b44df0b928e8350c84561af22cdff60f232 Mon Sep 17 00:00:00 2001 From: marlon passos Date: Wed, 29 Mar 2023 11:57:39 -0300 Subject: [PATCH] fix: corrige problema de texto --- src/components/Main/Subject/SubjectText.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/Main/Subject/SubjectText.tsx b/src/components/Main/Subject/SubjectText.tsx index 4764a55..0dd69c9 100644 --- a/src/components/Main/Subject/SubjectText.tsx +++ b/src/components/Main/Subject/SubjectText.tsx @@ -7,7 +7,10 @@ interface SubjectTextProps { const SubjectText = ({title}: SubjectTextProps) => { return ( -
+
<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> )