summaryrefslogtreecommitdiff
path: root/examples/blog-multiple-authors/src/components
diff options
context:
space:
mode:
authorGravatar Yoshiaki Togami <62130798+togami2864@users.noreply.github.com> 2021-10-15 03:40:33 +0900
committerGravatar GitHub <noreply@github.com> 2021-10-14 14:40:33 -0400
commit32dbf68247720c7a9c81a55d29cf763d1e14a801 (patch)
tree95d7b09100ccb7f3e55d5eef9b8699fd3220ced2 /examples/blog-multiple-authors/src/components
parent7e4f91db609f43b54070518ab099f643f331f445 (diff)
downloadastro-32dbf68247720c7a9c81a55d29cf763d1e14a801.tar.gz
astro-32dbf68247720c7a9c81a55d29cf763d1e14a801.tar.zst
astro-32dbf68247720c7a9c81a55d29cf763d1e14a801.zip
Fix type error in blog-multiple-authors example (#1553)
* chore: add description to avoid type error * fix: fix canonical url type in main head component
Diffstat (limited to 'examples/blog-multiple-authors/src/components')
-rw-r--r--examples/blog-multiple-authors/src/components/MainHead.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blog-multiple-authors/src/components/MainHead.astro b/examples/blog-multiple-authors/src/components/MainHead.astro
index 0392f6d94..c780d24c3 100644
--- a/examples/blog-multiple-authors/src/components/MainHead.astro
+++ b/examples/blog-multiple-authors/src/components/MainHead.astro
@@ -6,7 +6,7 @@ export interface Props {
type?: string;
next?: string;
prev?: string;
- canonicalURL?: string;
+ canonicalURL?: string | URL;
}
const { title, description, image, type, next, prev, canonicalURL } = Astro.props as Props;