Skip to content

Commit

Permalink
Updated RenderingTextContainer.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
OlesiaBarannik committed Jul 27, 2024
1 parent 640bf17 commit 5327088
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const RenderingTextContainer = ({ item, styles }) => {

const renderHeading = () => {
const HeadingTag = `h${item.level}`;
return <HeadingTag className={styles['text_content__heading']} id={item.id} key={item.id || uuidv4()}>{item.text}</HeadingTag>;
return <HeadingTag className={styles['text_content__heading']} key={item.id || uuidv4()}>{item.text}</HeadingTag>;
};

const renderParagraphMarginBottom = () => (
Expand Down

0 comments on commit 5327088

Please sign in to comment.