Skip to content

Commit 7bf5af8

Browse files
committed
more consistent syntax for composition api
1 parent f57f636 commit 7bf5af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/examples/src/list-transition/App/composition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414

1515
function reset() {
1616
items.value = getInitialItems()
17-
id = getInitialItems().length + 1
17+
id = items.value.length + 1
1818
}
1919

2020
function shuffle() {

0 commit comments

Comments
 (0)