diff --git a/app/(root)/changelogs/[slug]/page.tsx b/app/(root)/changelogs/[slug]/page.tsx index 126dc5b..f0bd0e6 100644 --- a/app/(root)/changelogs/[slug]/page.tsx +++ b/app/(root)/changelogs/[slug]/page.tsx @@ -38,19 +38,23 @@ const Page = ({ params }: { params: { slug: string } }) => { }, [slug]); if (loading) { - document.title = "Mods Change Logs - SVRJS"; return ( -
-
- -
-
- - - - -
-
+ <> + + Mods Change Logs - SVRJS + +
+
+ +
+
+ + + + +
+
+ ); } diff --git a/app/(root)/changelogs/page.tsx b/app/(root)/changelogs/page.tsx index 423e109..de52650 100644 --- a/app/(root)/changelogs/page.tsx +++ b/app/(root)/changelogs/page.tsx @@ -54,19 +54,23 @@ const LogsPage: React.FC = () => { const reversedDownloads = [...downloads].reverse(); if (loading) { - document.title = "Change Logs - SVRJS"; return ( -
-
- -
-
- - - - -
-
+ <> + + Change Logs - SVRJS + +
+
+ +
+
+ + + + +
+
+ ); } diff --git a/app/(root)/vulnerabilities/page.tsx b/app/(root)/vulnerabilities/page.tsx index 573fc6b..0f92c53 100644 --- a/app/(root)/vulnerabilities/page.tsx +++ b/app/(root)/vulnerabilities/page.tsx @@ -37,7 +37,7 @@ const Vulnerabilities = () => { if (response.ok) { const data: Vulnerabilities[] = await response.json(); setDownloads(data); - document.title = "Vulnerabilities - SVRJS"; + return (document.title = "Vulnerabilities - SVRJS"); } else { throw new Error(`HTTP error! status: ${response.status}`); } @@ -60,7 +60,7 @@ const Vulnerabilities = () => { (mod) => mod.vulnerabilities && mod.vulnerabilities.trim() !== "" ); setMods(filteredMods); - document.title = "Vulnerabilities - SVRJS"; + return (document.title = "Vulnerabilities - SVRJS"); } else { throw new Error(`HTTP error! status: ${response.status}`); } @@ -86,19 +86,23 @@ const Vulnerabilities = () => { const reversedMods = [...mods].reverse(); if (loading) { - document.title = "Vulnerabilities - SVRJS"; return ( -
-
- -
-
- - - - -
-
+ <> + + Vulnerabilities - SVRJS + +
+
+ +
+
+ + + + +
+
+ ); }