Skip to content

Commit c061871

Browse files
committed
Update to Hono 4.5.10
1 parent f6418f9 commit c061871

File tree

4 files changed

+36
-31
lines changed

4 files changed

+36
-31
lines changed

frameworks/keyed/hono/package-lock.json

Lines changed: 29 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frameworks/keyed/hono/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
},
1616
"type": "module",
1717
"dependencies": {
18-
"@hono/node-server": "^1.12.0",
19-
"hono": "4.5.4"
18+
"@hono/node-server": "^1.12.2",
19+
"hono": "4.5.10"
2020
},
2121
"devDependencies": {
22-
"@types/node": "^20.11.17",
22+
"@types/node": "^22.5.2",
2323
"shx": "^0.3.4",
2424
"typescript": "^5.5.4",
25-
"vite": "^5.3.5"
25+
"vite": "^5.4.2"
2626
}
2727
}

frameworks/keyed/hono/src/index.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,8 @@ const App = () => {
141141
<table class="table table-hover table-striped test-data">
142142
<tbody>
143143
{data.map(item => {
144-
console.log(item);
145-
return (
146-
<Row item={item} selected={selected === item.id} dispatch={dispatch} />
147-
);
144+
// @ts-ignore
145+
return <Row key={item.id} item={item} selected={selected === item.id} dispatch={dispatch} />;
148146
})}
149147
</tbody>
150148
</table>

frameworks/keyed/hono/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"node"
1111
],
1212
"jsx": "react-jsx",
13-
"jsxImportSource": "hono/jsx/dom",
13+
"jsxImportSource": "hono/jsx",
1414
"outDir": "dist"
1515
}
1616
}

0 commit comments

Comments
 (0)