chore: make Stays title prop optional
This commit is contained in:
@@ -14,7 +14,7 @@ import type { Page } from "@/types/components/myPages/myStays/page"
|
||||
|
||||
export default function PreviousStays({
|
||||
lang,
|
||||
title = "", // TODO: Should the title be optional?
|
||||
title,
|
||||
subtitle,
|
||||
link,
|
||||
}: AccountPageComponentProps) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import { AccountPageComponentProps } from "@/types/components/myPages/myPage/acc
|
||||
|
||||
export default async function UpcomingStays({
|
||||
lang,
|
||||
title = "", // TODO: Should this be optional?
|
||||
title,
|
||||
subtitle,
|
||||
link,
|
||||
}: AccountPageComponentProps) {
|
||||
|
||||
@@ -16,7 +16,7 @@ import type { Page } from "@/types/components/myPages/myStays/page"
|
||||
|
||||
export default function UpcomingStays({
|
||||
lang,
|
||||
title = "", // TODO: Should this be optional?
|
||||
title,
|
||||
subtitle,
|
||||
link,
|
||||
}: AccountPageComponentProps) {
|
||||
|
||||
Reference in New Issue
Block a user