fix: remove duplicat numbers in counter

This commit is contained in:
max_richter 2023-08-09 16:06:20 +02:00
parent f9bedfcdcb
commit 6587ee689b

View File

@ -21,9 +21,7 @@ export default function Counter(props: CounterProps) {
size={props.count.toString().length}
value={props.count}
onInput={(ev) => props.count.value = ev.target?.value}
>
{props.count}
</input>
/>
<Button onClick={() => props.count.value += 1}>
<IconCirclePlus />
</Button>