Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt
2023-05-15 17:38:17 +02:00
parent acda6ea8c0
commit d8c1f15c91
6 changed files with 33 additions and 26 deletions

View File

@ -9,7 +9,7 @@ const contentArray = getContentArray(content);
{
contentArray.map((value) => {
if (typeof value === "string") {
return <div set:html={value} />;
return <article set:html={value} />;
} else {
return (
<Image