Skip to content

Commit

Permalink
remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce committed Dec 3, 2024
1 parent cffb0f0 commit b637690
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/next/src/server/request/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,8 @@ export function throwWithStaticGenerationBailoutErrorWithDynamicError(
}

export function isRequestAPICallableInsideAfter() {
// const workStore = workAsyncStorage.getStore()
// const workUnitStore = workUnitAsyncStorage.getStore()
const afterTaskStore = afterTaskAsyncStorage.getStore()
return (
// workUnitStore?.type === 'request' &&
afterTaskStore?.rootTaskSpawnPhase === 'action'
)
return afterTaskStore?.rootTaskSpawnPhase === 'action'
}

export const wellKnownProperties = new Set([
Expand Down

0 comments on commit b637690

Please sign in to comment.