-
{
- router.push(`/${locale}/`);
- }}
- className="flex flex-none cursor-pointer font-semibold leading-none items-center break-all tracking-tight gap-0.5 text-xl"
- >
-
-
-
-
-
@@ -31,3 +17,23 @@ export default function ServerDetailLoading() {
);
}
+
+export function ServerDetailLoading() {
+ const router = useRouter();
+ const locale = useLocale();
+
+ return (
+ <>
+ {
+ router.push(`/${locale}/`);
+ }}
+ className="flex flex-none cursor-pointer font-semibold leading-none items-center break-all tracking-tight gap-0.5 text-xl"
+ >
+
+
+
+