From 0063c841c4911849b0ac83095e679440767a75a7 Mon Sep 17 00:00:00 2001 From: Espen Hovlandsdal Date: Thu, 5 Oct 2023 14:58:11 -0700 Subject: [PATCH] refactor(i18n): add missing visibility tag to `useIntlListFormat` --- packages/sanity/src/core/i18n/hooks/useIntlListFormat.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/sanity/src/core/i18n/hooks/useIntlListFormat.ts b/packages/sanity/src/core/i18n/hooks/useIntlListFormat.ts index cdce2bc214ea..ccbffcba97e6 100644 --- a/packages/sanity/src/core/i18n/hooks/useIntlListFormat.ts +++ b/packages/sanity/src/core/i18n/hooks/useIntlListFormat.ts @@ -31,6 +31,7 @@ export interface UseIntlListFormatOptions { * * @param options - Optional options for the list formatter * @returns Instance of `Intl.ListFormat` + * @public */ export function useIntlListFormat(options?: UseIntlListFormatOptions): Intl.ListFormat { const currentLocale = useCurrentLocale()