Skip to content

Commit

Permalink
fix: add missing radix parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
SpoonOfDoom committed Nov 20, 2023
1 parent 4d271d9 commit a05ab1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Participant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ function Participant({
type="number"
value={initiative}
onChange={(e) => {
console.log('hallo?');
return (
onInitiativeChange && onInitiativeChange(parseInt(e.target.value))
onInitiativeChange &&
onInitiativeChange(parseInt(e.target.value, 10))
);
}}
/>
Expand Down

0 comments on commit a05ab1e

Please sign in to comment.