nezha_dash/app/(main)/ClientComponents/GlobalLoading.tsx
2024-12-05 15:07:20 +08:00

17 lines
451 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>
);
}