import { useTranslations } from "next-intl"; import LoadingLayer from "@/LoadingLayer"; export default function Loading() { const t = useTranslations(); return <LoadingLayer text={t("toAvatar")} />; }