Skip to content

Commit cb9e66e

Browse files
committed
Merge branch 'maomincoding-add'
2 parents 22f8eee + 57aa9f9 commit cb9e66e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frameworks/keyed/strve/src/main.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { setData, createApp } from "strve-js";
22
import { buildData } from "./data.js";
33

4-
let selected = undefined;
4+
let selected;
55
let rows = [];
66

77
function setRows(update = rows.slice()) {
@@ -38,7 +38,7 @@ function remove(id) {
3838
function select(id) {
3939
setData(
4040
() => {
41-
selected = +id;
41+
selected = id;
4242
},
4343
{
4444
name: TbodyComponent,

0 commit comments

Comments
 (0)