Skip to content

Commit

Permalink
chore: prettier is unhappy after update
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce committed May 8, 2024
1 parent 0d7f029 commit fa82174
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/next/src/server/after/react-cache-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function patchReactCacheDispatcher(dispatcher: CacheDispatcher) {
}

function patchReactCacheDispatcherWhenSet<
Container extends Record<string, any> & { [HAS_CACHE_SCOPE]?: boolean }
Container extends Record<string, any> & { [HAS_CACHE_SCOPE]?: boolean },
>(container: Container, key: keyof Container) {
if (container[HAS_CACHE_SCOPE]) {
return
Expand Down
7 changes: 4 additions & 3 deletions test/e2e/app-dir/next-after/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,10 @@ describe('unstable_after()', () => {
new Map([
[
'app/invalid-in-client/page.js',
(
await next.readFile('app/invalid-in-client/page.js')
).replace(`// 'use client'`, `'use client'`),
(await next.readFile('app/invalid-in-client/page.js')).replace(
`// 'use client'`,
`'use client'`
),
],
]),
'/invalid-in-client'
Expand Down

0 comments on commit fa82174

Please sign in to comment.