From 2ac68bbf7459e895651600b95d451d971fc3adad Mon Sep 17 00:00:00 2001 From: Oleg Kuzava Date: Tue, 9 Jan 2024 14:29:11 +0200 Subject: [PATCH] fix: add missing import for "use" --- .../src/app/client/create-i18n-provider-client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-international/src/app/client/create-i18n-provider-client.tsx b/packages/next-international/src/app/client/create-i18n-provider-client.tsx index 03506a4..fe8226b 100644 --- a/packages/next-international/src/app/client/create-i18n-provider-client.tsx +++ b/packages/next-international/src/app/client/create-i18n-provider-client.tsx @@ -1,7 +1,7 @@ import type { BaseLocale, ImportedLocales } from 'international-types'; import { notFound } from 'next/navigation'; import type { Context, ReactNode } from 'react'; -import React, { Suspense, useMemo } from 'react'; +import React, { Suspense, use, useMemo } from 'react'; import { flattenLocale } from '../../common/flatten-locale'; import { error } from '../../helpers/log'; import type { LocaleContext } from '../../types';