fix: add nullable values for account page
This commit is contained in:
@@ -6,8 +6,8 @@ import { DynamicContentComponents } from "@/types/components/myPages/myPage/enum
|
||||
export type AccountPageContentProps = {
|
||||
component: DynamicContentComponents
|
||||
props: {
|
||||
title?: string
|
||||
subtitle?: string
|
||||
title: string | null
|
||||
subtitle: string | null
|
||||
link?: { href: string; text: string }
|
||||
lang: Lang
|
||||
}
|
||||
@@ -15,8 +15,8 @@ export type AccountPageContentProps = {
|
||||
|
||||
export type AccountPageComponentProps = {
|
||||
lang: Lang
|
||||
title?: string
|
||||
subtitle?: string
|
||||
title: string | null
|
||||
subtitle: string | null
|
||||
link?: { href: string; text: string }
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export type OverviewProps = {
|
||||
title?: string
|
||||
title: string | null
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export type HeaderProps = {
|
||||
title?: string
|
||||
subtitle?: string
|
||||
title: string | null
|
||||
subtitle: string | null
|
||||
link?: { href: string; text: string }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user