Skip to content

Commit b0410f9

Browse files
committed
Fixed lint errors
1 parent e731030 commit b0410f9

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/common

src/pages/404.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const frontmatter: CollectionEntry<'page'>['data'] = {
1616
<Base frontmatter={frontmatter}>
1717
<header>
1818
<PageHero
19-
title={frontmatter.title}
19+
title={frontmatter.title!}
2020
description={frontmatter.description}
2121
coverImage={frontmatter.coverImage}
2222
socialImage={frontmatter.socialImage}

src/pages/categories.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const categories = await getCollection('category')
2121
<Base frontmatter={frontmatter}>
2222
<header>
2323
<PageHero
24-
title={frontmatter.title}
24+
title={frontmatter.title!}
2525
description={frontmatter.description}
2626
coverImage={frontmatter.coverImage}
2727
socialImage={frontmatter.socialImage}

src/pages/category/[category]/[...page].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function getStaticPaths({ paginate }: { paginate: PaginateFunction
5050
<Base frontmatter={frontmatter} schema='CollectionPage'>
5151
<header>
5252
<PageHero
53-
title={frontmatter.title}
53+
title={frontmatter.title!}
5454
description={frontmatter.description}
5555
coverImage={frontmatter.coverImage}
5656
socialImage={frontmatter.socialImage}

src/pages/contact.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const social = await getCollection('social')
2222
<Base frontmatter={frontmatter} schema='ContactPage'>
2323
<header>
2424
<PageHero
25-
title={frontmatter.title}
25+
title={frontmatter.title!}
2626
description={frontmatter.description}
2727
coverImage={frontmatter.coverImage}
2828
socialImage={frontmatter.socialImage}

src/pages/tag/[tag]/[...page].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export async function getStaticPaths({ paginate }: { paginate: PaginateFunction
4949
<Base frontmatter={frontmatter} schema='CollectionPage'>
5050
<header>
5151
<PageHero
52-
title={frontmatter.title}
52+
title={frontmatter.title!}
5353
description={frontmatter.description}
5454
coverImage={frontmatter.coverImage}
5555
socialImage={frontmatter.socialImage}

src/pages/tags.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const tags = Array.from(tagmap.values()).sort((a, b) => b.count - a.count)
122122
<Base frontmatter={frontmatter} schema='CollectionPage'>
123123
<header>
124124
<PageHero
125-
title={frontmatter.title}
125+
title={frontmatter.title!}
126126
description={frontmatter.description}
127127
coverImage={frontmatter.coverImage}
128128
socialImage={frontmatter.socialImage}

src/pages/websites.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const frontmatter: CollectionEntry<'page'>['data'] = {
1818
<Base frontmatter={frontmatter} schema='CollectionPage'>
1919
<header>
2020
<PageHero
21-
title={frontmatter.title}
21+
title={frontmatter.title!}
2222
description={frontmatter.description}
2323
coverImage={frontmatter.coverImage}
2424
socialImage={frontmatter.socialImage}

0 commit comments

Comments
 (0)