Skip to content

Commit bbe8c74

Browse files
committed
Apply code review suggestions
1 parent 72709f3 commit bbe8c74

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/hono/t.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ import type { LocalizedStringValue } from "./LocalizedStringValue.ts";
3838
*
3939
* app.get('/greet', c => {
4040
* return c.render(
41-
* const greeting = t`Hello ${c.req.param('name')}!`;
42-
* return greeting;
43-
* });
41+
* <p>{t`Hello ${c.req.param('name')}!`}</p>
42+
* );
4443
* });
4544
* ```
4645
*/

0 commit comments

Comments
 (0)