Skip to content

Commit

Permalink
fix: ensure we correctly join and parseInt
Browse files Browse the repository at this point in the history
  • Loading branch information
distinctgrey committed Oct 3, 2024
1 parent 6c74730 commit b2ea011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/services/stores/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const createMonsterMirrorStore = (
...acc,
[key]: {
id: key,
initiative: Number(value.join()),
initiative: parseInt(value.join('')),
name: key,
played: false,
},
Expand Down

0 comments on commit b2ea011

Please sign in to comment.