diff --git a/.changeset/five-ads-look.md b/.changeset/five-ads-look.md new file mode 100644 index 000000000000..9c198a50cb49 --- /dev/null +++ b/.changeset/five-ads-look.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Prevent route announcer from being visible diff --git a/packages/astro/components/ViewTransitions.astro b/packages/astro/components/ViewTransitions.astro index e1df9efa7752..b8ac44100b2d 100644 --- a/packages/astro/components/ViewTransitions.astro +++ b/packages/astro/components/ViewTransitions.astro @@ -5,9 +5,22 @@ export interface Props { fallback?: Fallback; } -const { fallback = 'animate' } = Astro.props as Props; +const { fallback = 'animate' } = Astro.props; --- - +