From a05ab1e491c4a73571f7f0bea7c36a0b3e00215e Mon Sep 17 00:00:00 2001 From: SpoonOfDoom Date: Mon, 20 Nov 2023 02:24:19 +0100 Subject: [PATCH] fix: add missing radix parameter --- src/components/Participant.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Participant.tsx b/src/components/Participant.tsx index b1d2311..0a42fd2 100644 --- a/src/components/Participant.tsx +++ b/src/components/Participant.tsx @@ -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)) ); }} />