fix: types error
This commit is contained in:
@@ -41,6 +41,7 @@ export default async function SiteModal({
|
||||
)
|
||||
|
||||
if (
|
||||
!site ||
|
||||
!page ||
|
||||
new Date(page!.metadata?.content?.date_published || "") > new Date()
|
||||
) {
|
||||
|
||||
@@ -102,6 +102,7 @@ export default async function SitePagePage({
|
||||
)
|
||||
|
||||
if (
|
||||
!site ||
|
||||
!page ||
|
||||
new Date(page!.metadata?.content?.date_published || "") > new Date()
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user