mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
17 lines
446 B
TypeScript
17 lines
446 B
TypeScript
"use client"
|
|
|
|
import { Loader } from "@/components/loading/Loader"
|
|
import { useTranslations } from "next-intl"
|
|
|
|
export default function GlobalLoading() {
|
|
const t = useTranslations("Global")
|
|
return (
|
|
<section className="flex flex-col gap-4 mt-[3.2px]">
|
|
<div className="flex min-h-40 flex-col items-center justify-center font-medium text-sm">
|
|
{t("Loading")}
|
|
<Loader visible={true} />
|
|
</div>
|
|
</section>
|
|
)
|
|
}
|