Fix warnings "You need to pass in an i18next instance using i18nextReactModule"
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import Link from 'next/link';
|
||||
|
||||
import { createI18nServerInstance } from '@/lib/i18n/i18n.server';
|
||||
import { withI18n } from '~/lib/i18n/with-i18n';
|
||||
import { PageBody, PageHeader } from '@/packages/ui/src/makerkit/page';
|
||||
|
||||
import { toArray } from '@kit/shared/utils';
|
||||
@@ -17,7 +18,7 @@ export async function generateMetadata() {
|
||||
};
|
||||
}
|
||||
|
||||
export default async function MontonioCheckoutCallbackErrorPage({
|
||||
async function MontonioCheckoutCallbackErrorPage({
|
||||
searchParams,
|
||||
}: {
|
||||
searchParams: Promise<{ reasonFailed: string }>;
|
||||
@@ -61,3 +62,5 @@ export default async function MontonioCheckoutCallbackErrorPage({
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default withI18n(MontonioCheckoutCallbackErrorPage);
|
||||
|
||||
Reference in New Issue
Block a user