diff --git a/docs/latest/concepts/routes.md b/docs/latest/concepts/routes.md index b517c5ef..7c31b87f 100644 --- a/docs/latest/concepts/routes.md +++ b/docs/latest/concepts/routes.md @@ -98,7 +98,7 @@ interface Data { export const handler: Handlers = { async GET(req, ctx) { const value = await loadFooValue(); - ctx.render({ foo: value }); + return ctx.render({ foo: value }); }, };