Skip to content

Commit bcc89f1

Browse files
committed
chore: remove clientrouter
seemingly causes some caching issues on my end, atleast on safari. it's not necessary anyway
1 parent 36af00c commit bcc89f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/layouts/MainLayout.astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import "../styles/global.css";
33
import Header from "../components/Header.astro";
44
import Footer from "../components/Footer.astro";
5-
import { ClientRouter } from "astro:transitions";
65
76
interface Props {
87
title: string;
@@ -15,15 +14,14 @@ const {
1514
} = Astro.props;
1615
---
1716

18-
<html lang="en" class="lg:text-lg" transition:animate="none">
17+
<html lang="en" class="lg:text-lg">
1918
<head>
2019
<meta charset="utf-8" />
2120
<meta name="viewport" content="width=device-width, initial-scale=1" />
2221
<meta name="description" content={description} />
2322
<title>
2423
{title === "Prism Launcher" ? title : `${title} - Prism Launcher`}
2524
</title>
26-
<ClientRouter />
2725
<link rel="icon" type="image/png" href="/img/favicon.png" />
2826
<link rel="sitemap" href="/sitemap-index.xml" />
2927
</head>

0 commit comments

Comments
 (0)