Skip to content

Commit

Permalink
fix(playground): start keys at 0
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhg committed Jan 29, 2025
1 parent 072d729 commit d88f4bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/playground/src/key-generator.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export function createKeyGenerator(prefix: string) {
let index = 0
return function keyGenerator(): string {
index++
return `${prefix}${index}`
return `${prefix}${index++}`
}
}

0 comments on commit d88f4bd

Please sign in to comment.