first fixes

This commit is contained in:
Lokowitz
2025-05-17 18:17:22 +00:00
parent 731ec1da69
commit eff812eaa8
27 changed files with 80 additions and 114 deletions

View File

@@ -8,7 +8,7 @@ import { AxiosResponse } from "axios";
import { ExternalLink } from "lucide-react";
import { Metadata } from "next";
import { cache } from "react";
import { useTranslations } from "next-intl";
import { getTranslations } from 'next-intl/server';
export const metadata: Metadata = {
title: `Auth - Pangolin`,
@@ -22,7 +22,7 @@ type AuthLayoutProps = {
export default async function AuthLayout({ children }: AuthLayoutProps) {
const getUser = cache(verifySession);
const user = await getUser();
const t = useTranslations();
const t = await getTranslations();
const licenseStatusRes = await cache(
async () =>