Skip to content

Commit d72a253

Browse files
committed
fix row number output and appending
1 parent 12cc73a commit d72a253

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frameworks/keyed/butterfloat/row-vm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class RowViewModel {
5151
}
5252

5353
updateLabel() {
54-
this.#setLabel((current) => current + '!!!')
54+
this.#setLabel((current) => current + ' !!!')
5555
}
5656

5757
remove() {

frameworks/keyed/butterfloat/row.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function Row(
2727
vm.updateLabel(),
2828
)
2929

30-
const id = concat(of(vm.id.toString()), NEVER)
30+
const id = concat(of((vm.id+1).toString()), NEVER)
3131

3232
return (
3333
<tr

0 commit comments

Comments
 (0)