Skip to content

Commit 445e598

Browse files
committed
chore: update deprecated viewtransition
1 parent 2e601d2 commit 445e598

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/BaseHead.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ interface Props {
55
image: string;
66
}
77
import { SITE_TITLE } from "@/consts";
8-
import { ViewTransitions } from "astro:transitions";
8+
import { ClientRouter } from "astro:transitions";
99
1010
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
1111
@@ -89,4 +89,4 @@ const { title, description, image } = Astro.props;
8989
}
9090
</script>
9191

92-
<ViewTransitions />
92+
<ClientRouter />

0 commit comments

Comments
 (0)