Skip to content

Commit

Permalink
Update docs/src/content/docs/guides/overriding-components.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: HiDeoo <[email protected]>
  • Loading branch information
julien-deramond and HiDeoo authored Dec 14, 2024
1 parent dc79b61 commit 783c560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/content/docs/guides/overriding-components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ In the following example, a component overriding Starlight's [`Footer`](/referen
import type { Props } from '@astrojs/starlight/props';
import Default from '@astrojs/starlight/components/Footer.astro';
const isHomepage = Astro.props.entry.slug === '';
const isHomepage = Astro.props.id === '';
---
{
Expand Down

0 comments on commit 783c560

Please sign in to comment.