Skip to content

Commit 94bc964

Browse files
committed
docs: Fix code sample in blog post
1 parent c2b7182 commit 94bc964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/blog/next-intl-3-22.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default getRequestConfig(async ({
110110
+ requestLocale
111111
}) => {
112112
+ // This typically corresponds to the `[locale]` segment
113-
+ const locale = await requestLocale;
113+
+ let locale = await requestLocale;
114114

115115
- // Validate that the incoming `locale` parameter is valid
116116
- if (!routing.locales.includes(locale as any)) notFound();

0 commit comments

Comments
 (0)