diff --git a/packages/frontend/src/components/ArticleBox.tsx b/packages/frontend/src/components/ArticleBox.tsx index 4baa2bd4b..bab87b554 100644 --- a/packages/frontend/src/components/ArticleBox.tsx +++ b/packages/frontend/src/components/ArticleBox.tsx @@ -7,6 +7,8 @@ import remarkGfm from "remark-gfm"; import { ColoredTag } from "./ColoredTag"; import { Article, H2, Paragraph } from "./Typography"; +const emptyArray: Array = []; + export const ArticleBox = ({ title, link = undefined, @@ -14,7 +16,7 @@ export const ArticleBox = ({ subtitleLink = undefined, subtitleDescription = undefined, description, - tags = [], + tags = emptyArray, }: { readonly title: string; readonly link?: string;