From f20a522265fa53dc9d3cf77c758416122016a60c Mon Sep 17 00:00:00 2001 From: Tom Lienard Date: Tue, 6 Feb 2024 18:17:34 +0000 Subject: [PATCH] fix(next-international): `fallbackLocale` type for pages router --- packages/next-international/src/pages/create-i18n-provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-international/src/pages/create-i18n-provider.tsx b/packages/next-international/src/pages/create-i18n-provider.tsx index 0b16762..584b6c5 100644 --- a/packages/next-international/src/pages/create-i18n-provider.tsx +++ b/packages/next-international/src/pages/create-i18n-provider.tsx @@ -9,7 +9,7 @@ import type { LocaleContext } from '../types'; type I18nProviderProps = { locale: Locale; fallback?: ReactElement | null; - fallbackLocale?: BaseLocale; + fallbackLocale?: Record; children: ReactNode; };