This commit is contained in:
hailin 2025-03-12 16:06:15 +08:00
parent b314531c7b
commit fa2d9e7cbf
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ import { ReactNode } from 'react';
import TranslationsProvider from '@/components/TranslationsProvider';
import initTranslations from '../i18n';
import { usePathname } from 'next/navigation'; // Next.js 13+ 内置钩子
//import { usePathname } from 'next/navigation'; // Next.js 13+ 内置钩子
export const runtime = 'edge' // 'nodejs' (default) | 'edge'