fix: add rendering logic for optional link and preamble
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import type { Stay, User } from "@/types/user"
|
||||
|
||||
export type StaysProps = {
|
||||
title: string
|
||||
preamble: string
|
||||
link: {
|
||||
href: string
|
||||
text: string
|
||||
} | null
|
||||
stays: User["stays"]
|
||||
}
|
||||
|
||||
export type StayProps = Stay
|
||||
Reference in New Issue
Block a user