next.js
199b869d - refactor: avoid unnecessary after wrapper (#67463)

Commit
1 year ago
refactor: avoid unnecessary after wrapper (#67463) I think the wrap function is a leftover from before #66767. We don't need to return a tuple here, and can just use the `AfterContext` directly on the call site. This makes its optionality a bit more obvious, and avoids the noop callback.
Author
Parents
Loading