summaryrefslogtreecommitdiff
path: root/examples/docs/src/components/Footer
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/components/Footer')
-rw-r--r--examples/docs/src/components/Footer/AvatarList.astro2
-rw-r--r--examples/docs/src/components/Footer/Footer.astro2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/docs/src/components/Footer/AvatarList.astro b/examples/docs/src/components/Footer/AvatarList.astro
index 03b1e5bd7..8d00e0ec6 100644
--- a/examples/docs/src/components/Footer/AvatarList.astro
+++ b/examples/docs/src/components/Footer/AvatarList.astro
@@ -3,7 +3,7 @@
type Props = {
path: string;
};
-const { path } = Astro.props as Props;
+const { path } = Astro.props;
const resolvedPath = `examples/docs/${path}`;
const url = `https://api.github.com/repos/withastro/astro/commits?path=${resolvedPath}`;
const commitsURL = `https://github.com/withastro/astro/commits/main/${resolvedPath}`;
diff --git a/examples/docs/src/components/Footer/Footer.astro b/examples/docs/src/components/Footer/Footer.astro
index 1ec756b86..8eab03d82 100644
--- a/examples/docs/src/components/Footer/Footer.astro
+++ b/examples/docs/src/components/Footer/Footer.astro
@@ -3,7 +3,7 @@ import AvatarList from './AvatarList.astro';
type Props = {
path: string;
};
-const { path } = Astro.props as Props;
+const { path } = Astro.props;
---
<footer>