2026-05-25 01:55:55 +08:00
|
|
|
import { EntitlementRequiredClient } from "./EntitlementRequiredClient";
|
|
|
|
|
import { I18nProvider } from "@/hooks/useI18n";
|
2026-05-10 16:13:34 +08:00
|
|
|
|
2026-03-11 08:46:32 +08:00
|
|
|
type Props = {
|
|
|
|
|
searchParams?: Promise<{ next?: string }>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default async function EntitlementRequiredPage({ searchParams }: Props) {
|
|
|
|
|
const params = (await searchParams) || {};
|
|
|
|
|
const nextPath = params.next || "/";
|
|
|
|
|
|
|
|
|
|
return (
|
2026-05-25 01:55:55 +08:00
|
|
|
<I18nProvider>
|
|
|
|
|
<EntitlementRequiredClient nextPath={nextPath} />
|
|
|
|
|
</I18nProvider>
|
2026-03-11 08:46:32 +08:00
|
|
|
);
|
|
|
|
|
}
|