Skip to content

Commit

Permalink
Merge pull request #371 from liam-hq/fix-p-element-dom-error
Browse files Browse the repository at this point in the history
🐛 fix: Comment component to use `<span>` instead of `<p>`
  • Loading branch information
FunamaYukina authored Dec 24, 2024
2 parents 877e07b + d097cea commit 4807286
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/dirty-crabs-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@liam-hq/erd-core": patch
"@liam-hq/cli": patch
---

:bug: fix: Comment component to use `<span>` instead of `<p>`
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type Props = {
export const Comment: FC<Props> = ({ comment }) => {
return (
<DrawerDescription className={styles.wrapper}>
<p className={styles.text}>{comment}</p>
<span className={styles.text}>{comment}</span>
</DrawerDescription>
)
}

0 comments on commit 4807286

Please sign in to comment.