Skip to content

Commit

Permalink
docs: Add comment to example-app-router-mixed-routing
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn authored Oct 22, 2024
1 parent 111b0d6 commit 1a0f05d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {defaultLocale, locales} from '../config';
import {getUserLocale} from '../db';

export default getRequestConfig(async ({requestLocale}) => {
// Read from potential `[locale]` segment
let locale = await requestLocale;

if (!locale) {
Expand Down

0 comments on commit 1a0f05d

Please sign in to comment.