diff --git a/app/(main)/footer.tsx b/app/(main)/footer.tsx index a09a84e..5a0ba55 100644 --- a/app/(main)/footer.tsx +++ b/app/(main)/footer.tsx @@ -1,7 +1,7 @@ import pack from "@/package.json"; import { useTranslations } from "next-intl"; -export const experimental_ppr = true +export const experimental_ppr = true; export default function Footer() { const t = useTranslations("Footer"); diff --git a/app/(main)/header.tsx b/app/(main)/header.tsx index 6caca55..b23f7ae 100644 --- a/app/(main)/header.tsx +++ b/app/(main)/header.tsx @@ -11,7 +11,7 @@ import Image from "next/image"; import { useRouter } from "next/navigation"; import React, { useEffect, useRef, useState } from "react"; -export const experimental_ppr = true +export const experimental_ppr = true; function Header() { const t = useTranslations("Header"); @@ -105,7 +105,7 @@ function Links() { // https://github.com/streamich/react-use/blob/master/src/useInterval.ts const useInterval = (callback: () => void, delay: number | null) => { - const savedCallback = useRef<() => void>(() => { }); + const savedCallback = useRef<() => void>(() => {}); useEffect(() => { savedCallback.current = callback; }); diff --git a/app/(main)/page.tsx b/app/(main)/page.tsx index b632f9b..2b271a3 100644 --- a/app/(main)/page.tsx +++ b/app/(main)/page.tsx @@ -1,7 +1,7 @@ import ServerList from "@/components/ServerList"; import ServerOverview from "@/components/ServerOverview"; -export const experimental_ppr = true +export const experimental_ppr = true; export default function Home() { return (
- {name} -
+ ++ {name} +
+ +{name}
+{t("CPU")}
- {name} -
-{t("Offline")}
-+ {name} +
+ +{name}
+