chore: make Stays title prop optional

This commit is contained in:
Arvid Norlin
2024-04-24 10:52:46 +02:00
parent 265f55ca9a
commit dd2127749a
5 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ export default function Content({ user, lang, content }: ContentProps) {
const componentProps = {
lang,
title: item.dynamic_content.title,
// TODO: rename preamble to subtitle in Contentstack
// TODO: rename preamble to subtitle in Contentstack?
subtitle: item.dynamic_content.preamble,
...(link && { link }),
}