Skip to content

Commit

Permalink
fix(lint): format code to follow prettier rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Yovach committed Oct 27, 2023
1 parent 3da7e2c commit ec618d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-international/src/app/middleware/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function noLocalePrefix(locales: readonly string[], pathname: string) {

/**
* Add `X-Next-Locale` header and `Next-Locale` cookie to response
*
*
* **NOTE:** The cookie is only set if the locale is different from the one in the cookie
*/
function addLocaleToResponse(request: NextRequest, response: NextResponse, locale: string) {
Expand Down

0 comments on commit ec618d1

Please sign in to comment.