Skip to content

Commit

Permalink
fix: Modify the setup comment
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ngjie committed Dec 8, 2022
1 parent db9e4d8 commit ae49473
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/code-editor/packages/useEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ export function getDefaultContent() {
const defaultContent =
`
function setup(req, res, next) {
// ...todo
// type next = { override?: string, status?: string | number }
// override === "" // use default override
// status === "" // use default customStatusCode
// TODO...
// type Next = { override?: string, status?: string | number }
next({ override: "", status: "" });
}
`
Expand Down

0 comments on commit ae49473

Please sign in to comment.